]> xenbits.xensource.com Git - osstest.git/commitdiff
ts-debian-di-install: Use exit/poweroff in preference to exit/always_halt
authorIan Campbell <ian.campbell@citrix.com>
Thu, 13 Aug 2015 16:52:36 +0000 (17:52 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 4 Sep 2015 11:09:48 +0000 (12:09 +0100)
always_halt results in d-i calling "halt", which does not necessarily
poweroff the host (it seems to for x86/PV Xen guests, but does not for
ARM). Using exit/poweroff calls "poweroff" which is equivalent to
"halt -p", doing so results in ARM guests powering off as desired.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-debian-di-install

index 34b8e1e8f3e4234c0be9f121d59e5312893dbd19..612e0fa2d3cded165eae44a7e2607852bb151b7f 100755 (executable)
@@ -210,7 +210,7 @@ END
     }
 
     my @cmdline = ();
-    push @cmdline, "debian-installer/exit/always_halt=true";
+    push @cmdline, "debian-installer/exit/poweroff=true";
     push @cmdline, "domain=$c{TestHostDomain}";
     push @cmdline, "console=hvc0";
     push @cmdline, di_installcmdline_core($gho, $ps_url);