summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-10-12 14:08:36 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-12 14:08:36 +0000
commitf8da17969ca068b13dd5cdf628f530e111269d8d (patch)
tree12a3285d57c3f5cde85da2275761eebe132ed8f7 /lib
parent766fed530d3b4e0a761aa66d5b076f8fe3f3956f (diff)
parent259a65bd7283b39caf1b57b5523c8bfcbcb07378 (diff)
Merge "set undercloud VM to autostart" into stable/colorado
Diffstat (limited to 'lib')
-rwxr-xr-xlib/undercloud-functions.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/undercloud-functions.sh b/lib/undercloud-functions.sh
index 5f455889..fea5f620 100755
--- a/lib/undercloud-functions.sh
+++ b/lib/undercloud-functions.sh
@@ -62,6 +62,7 @@ function setup_undercloud_vm {
--run-command "cp /root/.ssh/authorized_keys /home/stack/.ssh/" \
--run-command "chown stack:stack /home/stack/.ssh/authorized_keys && chmod 600 /home/stack/.ssh/authorized_keys"
virsh start undercloud
+ virsh autostart undercloud
fi
sleep 10 # let undercloud get started up