variable "alpine_password" { type = string default = "alpine" } locals { iso_url_alpine_312 = "http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86_64/alpine-virt-3.12.0-x86_64.iso" iso_checksum_url_alpine_312 = "http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86_64/alpine-virt-3.12.0-x86_64.iso.sha256" floppy_files_alpine = [ "${local.http_directory}/alpine-answers", "${local.http_directory}/alpine-setup.sh" ] alpine_312_floppy_boot_command = [ "root", "mount -t vfat /dev/fd0 /media/floppy", "setup-alpine -f /media/floppy/alpine-answers", "", "${var.alpine_password}", "${var.alpine_password}", "", "y", "", "reboot", "", "root", "${var.alpine_password}", "mount -t vfat /dev/fd0 /media/floppy", "/media/floppy/alpine-setup.sh", ] floppy_files_alpine_vsphere = [ "${local.http_directory}/alpine-vsphere-answers", "${local.http_directory}/alpine-setup.sh" ] alpine_312_floppy_boot_command_vsphere = [ "root", "mount -t vfat /dev/fd0 /media/floppy", "setup-alpine -f /media/floppy/alpine-vsphere-answers", "${var.alpine_password}", "${var.alpine_password}", "", "y", "", "reboot", "", "root", "${var.alpine_password}", "mount -t vfat /dev/fd0 /media/floppy", "/media/floppy/alpine-setup.sh", "", ] }