-
Notifications
You must be signed in to change notification settings - Fork 1
/
ubuntu18.pkrvars.hcl
executable file
·67 lines (60 loc) · 3.65 KB
/
ubuntu18.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#----------------------------------------------------------------------------------
# Variable file to build the Ubuntu Server 18.04 LTS image
# juliusn - Sun Dec 5 08:48:39 EST 2021
#
# Download Ubuntu Server 18.04 LTS Media and Checksum from:
# https://cdimage.ubuntu.com/releases/18.04/release/
#----------------------------------------------------------------------------------
#----------------------------------------------------------------------------------
# Set your environment variables, or read the secrets from pass
# and set them as environment variables
#
# export PKR_VAR_vcenter_hostname=$(pass provider_vcenter_hostname)
# export PKR_VAR_vcenter_username=$(pass provider_vcenter_username)
# export PKR_VAR_vcenter_password=$(pass provider_vcenter_password)
# export PKR_VAR_vm_access_username=$(pass vm_access_username)
# export PKR_VAR_vm_access_password=$(pass vm_access_password)
# export PKR_VAR_esx_remote_hostname=$(pass esx_remote_hostname)
# export PKR_VAR_esx_remote_username=$(pass esx_remote_username)
# export PKR_VAR_esx_remote_password=$(pass esx_remote_password)
#----------------------------------------------------------------------------------
vm_name = "ubuntu"
vm_guest_os_type = "ubuntu64Guest"
vm_guest_version = "19"
# vm_access_username = # Reading PKR_VAR_vm_access_username environment variable
# vm_access_password = # Reading PKR_VAR_vm_access_password environment variable
vm_ssh_timeout = "30m"
cpu_count = "4"
ram_gb = "16"
vm_disk_size = "100000"
vm_iso_url = "iso/ubuntu-18.04.6-server-amd64.iso"
# vm_iso_url = "http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.6-server-amd64.iso"
vm_iso_checksum = "sha256:f5cbb8104348f0097a8e513b10173a07dbc6684595e331cb06f93f385d0aecf6"
boot_key_interval_iso = "30ms"
boot_wait_iso = "5s"
boot_keygroup_interval_iso = "1s"
#----------------------------------------------------------------------------------
# Deployment to VMware vSphere - variables definition
#----------------------------------------------------------------------------------
# vcenter_hostname = # Reading PKR_VAR_vcenter_username environment variable
# vcenter_username = # Reading PKR_VAR_vcenter_username environment variable
# vcenter_password = # Reading PKR_VAR_vcenter_password environment variable
vcenter_cluster = "west-cluster"
vcenter_datacenter = "west-dc"
vcenter_datastore = "nfsdatastore01"
vcenter_folder = "Templates"
vcenter_port_group = "lab-mgmt"
#----------------------------------------------------------------------------------
# Deployment to VMware ESX - variables definition
#----------------------------------------------------------------------------------
# esx_remote_hostname = # Reading PKR_VAR_esx_remote_hostname environment variable
# esx_remote_username = # Reading PKR_VAR_esx_remote_username environment variable
# esx_remote_password = # Reading PKR_VAR_esx_remote_password environment variable
esx_remote_type = "esx5"
esx_remote_datastore = "datastore1"
esx_port_group = "PortG_Management"
#----------------------------------------------------------------------------------
# Deployment to VMware Fusion - variables definition
#----------------------------------------------------------------------------------
fusion_app_directory = "/Applications/VMware Fusion.app"
fusion_output_directory = "/Users/juliusn/Virtual Machines.localized/ubuntu.vmwarevm"