UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit 0bd879f0 authored by kmc-home's avatar kmc-home
Browse files

update yaml

parent 547fcdb8
No related merge requests found
......@@ -80,7 +80,7 @@ uv sync
# Add aliases to .bashrc
echo "alias terraform='docker run -it -v $(pwd):/app -w /app hashicorp/terraform:latest'" >> /root/.bashrc
echo "alias pulumi='docker run -it -v $(pwd):/app -w /app pulumi/pulumi:latest'" >> /root/.bashrc
# echo "alias pulumi='docker run -it -v $(pwd):/app -w /app pulumi/pulumi:latest'" >> /root/.bashrc
# Blank Horizon SPICE console fix (can remove upon transition to VNC)
echo "X-GNOME-Autostart-enabled=false" > /etc/xdg/autostart/spice-vdagent.desktop
......
......@@ -90,7 +90,8 @@ resources:
template: linux_opstation_RAND
params:
RAND: { get_resource: rand_string }
image: ubuntu_22_04_7_vta
# image: ubuntu_22_04_7_vta
image: delta_ops
flavor: m4.medium.2
networks:
- port: { get_resource: linux_opstation_port }
......@@ -101,16 +102,19 @@ resources:
str_replace:
template: |
#!/bin/bash
echo -e "!!!!!\n!!!!!\n!!!!!\nSTARTING OPS CONFIGURATION\n!!!!!\n!!!!!\n!!!!!"
echo "$public_key" > /root/.ssh/authorized_keys
cd /root
# echo -e "!!!!!\n!!!!!\n!!!!!\nSTARTING OPS CONFIGURATION\n!!!!!\n!!!!!\n!!!!!"
git clone https://git.cybbh.space/kevin.m.crotty/woac-infra-demo.git
cd woac-infra-demo/ranges/openstack/heat/scripts
source ops_config.sh $pass $user
echo -e "!!!!!\n!!!!!\n!!!!!\nOPS CONFIGURATION COMPLETE\n!!!!!\n!!!!!\n!!!!!"
echo -e "!!!!!\n!!!!!\n!!!!!\nLAUNCHING FROM SNAPSHOT\n!!!!!\n!!!!!\n!!!!!"
reboot
# echo "$public_key" > /root/.ssh/authorized_keys
# cd /root
# git clone https://git.cybbh.space/kevin.m.crotty/woac-infra-demo.git
# cd woac-infra-demo/ranges/openstack/heat/scripts
# source ops_config.sh $pass $user
# echo -e "!!!!!\n!!!!!\n!!!!!\nOPS CONFIGURATION COMPLETE\n!!!!!\n!!!!!\n!!!!!"
# reboot
params:
$user: { get_param: username }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment