2020-07-02 05:07:59 -04:00
|
|
|
source "virtualbox-iso" "base-ubuntu-amd64" {
|
|
|
|
headless = var.headless
|
|
|
|
guest_os_type = "Ubuntu_64"
|
|
|
|
http_directory = local.http_directory
|
|
|
|
shutdown_command = "echo 'vagrant' | sudo -S shutdown -P now"
|
|
|
|
ssh_username = "vagrant"
|
|
|
|
ssh_password = "vagrant"
|
|
|
|
ssh_port = 22
|
|
|
|
ssh_wait_timeout = "15m"
|
|
|
|
hard_drive_interface = "sata"
|
|
|
|
virtualbox_version_file = ".vbox_version"
|
|
|
|
guest_additions_path = "VBoxGuestAdditions_{{.Version}}.iso"
|
|
|
|
guest_additions_url = var.guest_additions_url
|
|
|
|
}
|
2020-07-13 06:31:20 -04:00
|
|
|
|
|
|
|
source "virtualbox-iso" "base-alpine-amd64" {
|
|
|
|
headless = var.headless
|
|
|
|
guest_os_type = "Linux26_64"
|
|
|
|
http_directory = local.http_directory
|
|
|
|
hard_drive_interface = "sata"
|
|
|
|
ssh_username = "root"
|
|
|
|
ssh_password = var.alpine_password
|
|
|
|
ssh_wait_timeout = "60m"
|
|
|
|
shutdown_command = "poweroff"
|
2020-07-14 10:22:23 -04:00
|
|
|
floppy_files = local.floppy_files_alpine
|
2020-07-13 06:31:20 -04:00
|
|
|
}
|