Files
vms/distros/alpine/3.21/amd64.pkrvars.hcl
T

20 lines
739 B
HCL
Raw Normal View History

2025-01-22 08:46:15 -06:00
distro = "alpine"
version = "3.21"
iso = {
2025-04-01 17:04:21 -05:00
url = "https://dl-cdn.alpinelinux.org/alpine/v3.21/releases/x86_64/alpine-extended-3.21.3-x86_64.iso"
checksum = "3e0ab3b6b4409bd0012be59970f08522e7fb049b6634242875e30add290f5444"
2025-01-22 08:46:15 -06:00
}
boot_command = [
"root<enter><wait1>",
"echo 'iface eth0 inet dhcp' > /etc/network/interfaces<enter><wait>",
"ifup eth0<enter><wait8>",
"wget -O answers.cfg.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/answers.cfg.sh<enter>",
"<wait3>",
"wget -O in-chroot.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/in-chroot.sh<enter>",
"<wait3>",
"/bin/ash ./answers.cfg.sh 2>&1 | tee install.log<enter>",
]
http_directory = "distros/alpine/3.21/http/"
boot_wait = "20s"
shutdown_command = "sudo poweroff"