summaryrefslogtreecommitdiffstats
path: root/lib/undercloud-functions.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-10-10 15:08:15 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-10 15:08:15 +0000
commit4e2424a3802fc541a9b21ad53981b4725ed70320 (patch)
treeabb426c4133e80f41eb84e343586e71ade4acb1c /lib/undercloud-functions.sh
parentb1b909a9c5e07956c9da379bc121a582a3fdea35 (diff)
parentaac14dde4ef8ed177cd68dc2d28541a622ef424f (diff)
Merge "set undercloud VM to autostart"
Diffstat (limited to 'lib/undercloud-functions.sh')
-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 98552f29..6ba9a545 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