-
Notifications
You must be signed in to change notification settings - Fork 310
/
linux-centos-linux.auto.pkrvars.hcl
45 lines (38 loc) · 1.29 KB
/
linux-centos-linux.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
44
45
/*
DESCRIPTION:
CentOS Linux 8 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_vendor = "centos-linux"
vm_guest_os_member = "server"
vm_guest_os_version = "8"
// Virtual Machine Guest Operating System Setting
vm_guest_os_type = "centos8_64Guest"
// Virtual Machine Hardware Settings
vm_firmware = "efi-secure"
vm_cdrom_type = "sata"
vm_cpu_sockets = 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_file = "iso-linux-centos-linux-8.iso"
iso_checksum = "ff1164dc26ba47616f2b26a18158398a7d7930487770a8bb9e573d5758e01255ebc11db68c22976abe684a857083a0fae445e9d41d11a24a2073cdb1b500ae9a"
// Boot Settings
vm_boot_order = "disk,cdrom"
vm_boot_wait = "2s"
// Communicator Settings
communicator_port = 22
communicator_timeout = "30m"
// Provisioner Settings
scripts = ["../../../scripts/linux/redhat-variant.sh"]
inline = []