Hopefully this will give a little more information on what is happening in the builds on QEmu servers. Tell builds to output to ttyS0 and then capture that and output to the console.
20 lines
743 B
HCL
20 lines
743 B
HCL
distro = "alpine"
|
|
version = "3.19.0"
|
|
iso = {
|
|
url = "https://dl-cdn.alpinelinux.org/alpine/v3.19/releases/x86_64/alpine-standard-3.19.0-x86_64.iso"
|
|
checksum = "4cf7cd3bad64122a8a2423e78369a486a02334d4d88645aab9d08120bb76b0f9"
|
|
}
|
|
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.19.0/http/"
|
|
boot_wait = "20s"
|
|
shutdown_command = "sudo poweroff"
|