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:
parent
2eafb03f16
commit
792c8ac964
|
@ -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>"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue