diff mbox

[v16,17/18] osstest: remove the loader timeout from the install image

Message ID 20171110181042.1201-2-roger.pau@citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Roger Pau Monné Nov. 10, 2017, 6:10 p.m. UTC
When the FreeBSD installer is booted on the godello{0/1} boxes it
receives spurious key strokes. This doesn't happen so far when booted
from disk, or with any other boxes.

In order to cope with this remove the loader timeout on the install
image. Note that failure to boot will still drop the loader into a
manual prompt.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
 ts-freebsd-build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/ts-freebsd-build b/ts-freebsd-build
index 54cb5902..5e7e1078 100755
--- a/ts-freebsd-build
+++ b/ts-freebsd-build
@@ -135,7 +135,7 @@  chmod 0600 etc/ssh/ssh_host_*_key
 chmod 0644 etc/ssh/ssh_host_*_key.pub
 
 # Setup serial console output for stage1
-printf "%s" "-h -S$bauds" >> boot.config
+printf "%s" "-hn -S$bauds" >> boot.config
 cat << ENDBOOT >> boot/loader.conf
 # Serial console configuration
 boot_serial="YES"
@@ -143,6 +143,7 @@  comconsole_speed="$bauds"
 console="comconsole"
 boot_verbose="YES"
 beastie_disable="YES"
+autoboot_delay="-1"
 
 # mfs boot parameters
 mfs_load="YES"