summaryrefslogtreecommitdiffstats
path: root/hcl2/centos-9-x86_64/base.pkrvars.hcl
blob: b342a375f8dc4cae912a94d3573366ebeefff379 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Read the variables type constraints documentation
# https://www.packer.io/docs/templates/hcl_templates/variables#type-constraints
# for more info.

# Following variables will be defined though Makefile:
# http_dir=$(@D)/http
# output_directory=builds/$(@D)/base
# playbook=$(ANSIBLE_DIR_CORE)/slx-builder.yml
# vm_name=$(@D)

boot_command        = [
                       "<esc><wait>",
                       "linux inst.cmdline biosdevname=0 net.ifnames=0 ",
                       "rootpw=secret ",
                       "inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/anaconda-ks.cfg",
                       "<enter>"
                      ]
iso_checksum        = "file:https://mirror1.hs-esslingen.de/pub/Mirrors/centos-stream/9-stream/BaseOS/x86_64/iso/CHECKSUM"
iso_url             = "https://mirror1.hs-esslingen.de/pub/Mirrors/centos-stream/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-boot.iso"