-
Notifications
You must be signed in to change notification settings - Fork 315
/
linux-ubuntu.auto.pkrvars.hcl
43 lines (37 loc) · 1.23 KB
/
linux-ubuntu.auto.pkrvars.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
DESCRIPTION:
Ubuntu Server 22.04 LTS variables used by the Packer Plugin for VMware vSphere (vsphere-iso).
*/
// Guest Operating System Metadata
vm_guest_os_language = "en_US"
vm_guest_os_keyboard = "us"
vm_guest_os_timezone = "UTC"
vm_guest_os_family = "linux"
vm_guest_os_name = "ubuntu"
vm_guest_os_version = "22.04lts"
// Virtual Machine Guest Operating System Setting
vm_guest_os_type = "ubuntu64Guest"
// Virtual Machine Hardware Settings
vm_firmware = "efi-secure"
vm_cdrom_type = "sata"
vm_cpu_count = 2
vm_cpu_cores = 1
vm_cpu_hot_add = false
vm_mem_size = 2048
vm_mem_hot_add = false
vm_disk_size = 40960
vm_disk_controller_type = ["pvscsi"]
vm_disk_thin_provisioned = true
vm_network_card = "vmxnet3"
// Removable Media Settings
iso_url = null
iso_path = "iso/linux/ubuntu"
iso_file = "ubuntu-22.04.1-live-server-amd64.iso"
iso_checksum_type = "sha256"
iso_checksum_value = "10f19c5b2b8d6db711582e0e27f5116296c34fe4b313ba45f9b201a5007056cb"
// Boot Settings
vm_boot_order = "disk,cdrom"
vm_boot_wait = "5s"
// Communicator Settings
communicator_port = 22
communicator_timeout = "30m"