Skip to content
Snippets Groups Projects
Commit 9434dbab authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

temp fix waiting for merge into stable

parent 5739af90
No related branches found
No related tags found
No related merge requests found
...@@ -46,10 +46,12 @@ cd /root/envsetup || exit ...@@ -46,10 +46,12 @@ cd /root/envsetup || exit
# activation key # activation key
read -r -p "Activation key (e.g. XXX-XXX-XXX-XXX): " key read -r -p "Activation key (e.g. XXX-XXX-XXX-XXX): " key
if [ "$key" ]; then if [ "$key" ]; then
cp -u /root/envsetup/inventories/local-${target}/host_vars/localhost.dist.yml /root/envsetup/inventories/local-${target}/host_vars/localhost.yml cp -u /root/envsetup/inventories/local-${target}/host_vars/localhost.{dist.yml,yml}
# temp fix while waiting for envsetup3 to be merged into stable
test -f site.yml || git checkout master
sed -i "s/skyreach_activation_key:.*/skyreach_activation_key: ${key}/g" /root/envsetup/inventories/local-${target}/host_vars/localhost.yml sed -i "s/skyreach_activation_key:.*/skyreach_activation_key: ${key}/g" /root/envsetup/inventories/local-${target}/host_vars/localhost.yml
fi fi
# deploy target # deploy target
make requirements make install
make deploy i=inventories/local-${target} make deploy i=inventories/local-${target}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment