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>
}
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);