seedfrom
This commit is contained in:
@@ -43,10 +43,16 @@ source "proxmox" "ubuntu" {
|
|||||||
#cd_files = ["./ubuntu-20.04/user-data", "./ubuntu-20.04/meta-data"]
|
#cd_files = ["./ubuntu-20.04/user-data", "./ubuntu-20.04/meta-data"]
|
||||||
#cd_label = "cidata"
|
#cd_label = "cidata"
|
||||||
boot_command = [
|
boot_command = [
|
||||||
"<enter><wait2><enter><wait2><f6><esc><wait2> ",
|
"<enter><wait><enter><wait><f6><esc><wait> ",
|
||||||
"autoinstall<wait2> ds=nocloud;",
|
"autoinstall ds=nocloud-net;seedfrom=http://{{ .HTTPIP }}:{{ .HTTPPort }}/",
|
||||||
"<wait><enter>"
|
"<enter><wait>"
|
||||||
]
|
]
|
||||||
|
shutdown_command": "shutdown -P now"
|
||||||
|
#boot_command = [
|
||||||
|
# "<enter><wait2><enter><wait2><f6><esc><wait2> ",
|
||||||
|
# "autoinstall<wait2> ds=nocloud;",
|
||||||
|
# "<wait><enter>"
|
||||||
|
#]
|
||||||
}
|
}
|
||||||
|
|
||||||
build {
|
build {
|
||||||
|
|||||||
Reference in New Issue
Block a user