17 lines
675 B
HCL
17 lines
675 B
HCL
name = "debian"
|
|
version = "11"
|
|
short_version = "11"
|
|
code_name = "bullseye"
|
|
arch = "amd64"
|
|
source_url = "https://cloud.debian.org/images/cloud/bullseye/latest"
|
|
iso_cd_checksum = "9ae04227e89047b72970a0d5f1897e2573fd0d4bba3d381086307af604072bad9e33174357fd3c3545a2a2b5b83ce19f3dbb5c352e86d5173b833df59b4a5741"
|
|
image_dir_name= "latest"
|
|
boot_command = [ "<enter>" ]
|
|
# "<enter>",
|
|
# "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg<enter>",
|
|
# "<wait>",
|
|
# "<wait1s>mkdir -p .ssh<enter>",
|
|
# "<wait1s>wget http://{{.HTTPIP}}:{{.HTTPPort}}/ssh-packer-pub.key -O .ssh/authorized_keys<enter><wait1s>",
|
|
# "<wait1s>chmod 600 .ssh/authorized_keys<enter>",
|
|
#]
|