summaryrefslogtreecommitdiffstats
path: root/hcl2/centos-8-x86_64/base.pkrvars.hcl
blob: 8615dc886cc1963ef177979cf1ba1117b8210cb9 (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/8-stream/isos/x86_64/CHECKSUM"
iso_url             = "https://mirror1.hs-esslingen.de/pub/Mirrors/centos/8-stream/isos/x86_64/CentOS-Stream-8-x86_64-latest-boot.iso"