From 792c8ac964b282307b0af6b30bd1aac901a53cc2 Mon Sep 17 00:00:00 2001 From: Andreas Kohn Date: Fri, 20 Jun 2014 14:14:15 +0200 Subject: [PATCH] Improve the boot command sequence Use a single command line, avoid the graphical installer, and use {{ .HTTPIP }} rather than the actual IP. Also wait a bit before entering the commands to increase the chance of actually being in the boot menu. --- website/source/docs/builders/qemu.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/docs/builders/qemu.html.markdown b/website/source/docs/builders/qemu.html.markdown index e333ed933..2d29adc05 100644 --- a/website/source/docs/builders/qemu.html.markdown +++ b/website/source/docs/builders/qemu.html.markdown @@ -49,10 +49,10 @@ paths to files, URLS for ISOs and checksums. "vm_name": "tdhtest", "net_device": "virtio-net", "disk_interface": "virtio", + "boot_wait": "5s", "boot_command": [ - "", - " ks=http://10.0.2.2:{{ .HTTPPort }}/centos6-ks.cfg" + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos6-ks.cfg" ] } ]