diff --git a/scripts/install.sh b/scripts/install.sh index 33ed94e996efa55a9c71b2c2270a0dc9b8d544e5..dd8ecb62e28a336b53b980282bbb2535c44bbb09 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -eux -/usr/bin/coreos-cloudinit --from-file=/var/lib/coreos-install/user_data +/usr/bin/coreos-cloudinit --from-file=/var/lib/coreos-user_data docker pull indiepaas/rsyslog docker pull indiepaas/haproxy diff --git a/scripts/start.sh b/scripts/start.sh index b0548db67fe027667511f5811bb6e449e9702ccf..87252d16c3022e400d9b69031489c60873c41c99 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -13,15 +13,15 @@ fi $ROOT_DIR/scripts/create_vultr.sh backup.test -scp $ROOT_DIR/configs/backup.config root@backup.test:/var/lib/coreos-install/user_data -ssh root@backup.test /usr/bin/coreos-cloudinit --from-file=/var/lib/coreos-install/user_data +scp $ROOT_DIR/configs/backup.config root@backup.test:/var/lib/coreos-user_data +ssh root@backup.test /usr/bin/coreos-cloudinit --from-file=/var/lib/coreos-user_data BACKUP_IP=`cat /etc/hosts | grep backup.test | cut -d" " -f1` # Create server for tests $ROOT_DIR/scripts/create_vultr.sh server.test 30 cat $ROOT_DIR/configs/server.config | sed s/##BACKUP_IP##/$BACKUP_IP/g > /tmp/server.config -scp /tmp/server.config root@server.test:/var/lib/coreos-install/user_data +scp /tmp/server.config root@server.test:/var/lib/coreos-user_data scp $ROOT_DIR/scripts/install.sh root@server.test:/tmp/install.sh ssh root@server.test /tmp/install.sh IP=`cat /etc/hosts | grep server.test | cut -d" " -f1`