[pve-devel] [PATCH 2/2] set boot strict=on to prevent booting from not listed boot devices

Stefan Priebe s.priebe at profihost.ag
Fri Jan 9 06:56:15 CET 2015


Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
---
 PVE/QemuServer.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 857d925..d802e89 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2682,7 +2682,7 @@ sub config_to_command {
 	$i++;
     }
 
-    push @$cmd, '-boot', "menu=on";
+    push @$cmd, '-boot', "menu=on,strict=on,reboot-timeout=1000";
 
     push @$cmd, '-no-acpi' if defined($conf->{acpi}) && $conf->{acpi} == 0;
 
-- 
1.7.10.4




More information about the pve-devel mailing list