From aac14dde4ef8ed177cd68dc2d28541a622ef424f Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Thu, 6 Oct 2016 10:28:02 -0400 Subject: set undercloud VM to autostart When an apex deployment reboot's it fails to come back clean because it expects to connect to the undercloud which is not set to autostart. JIRA: APEX-289 Change-Id: Ia4984a3de68067d7c68aeb5ae955ff358865ce79 Signed-off-by: Dan Radez --- lib/undercloud-functions.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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 -- cgit 1.2.3-korg