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.
This commit is contained in:
Andreas Kohn 2014-06-20 14:14:15 +02:00
parent 2eafb03f16
commit 792c8ac964
1 changed files with 2 additions and 2 deletions

View File

@ -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":
[
"<tab><wait>",
" ks=http://10.0.2.2:{{ .HTTPPort }}/centos6-ks.cfg<enter>"
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos6-ks.cfg<enter><wait>"
]
}
]