@@ -207,12 +207,12 @@ source "proxmox-iso" "linux" {
207
207
ballooning_minimum = " ${ var . ballooning_minimum } "
208
208
boot_command = [" ${ var . boot_command } " ]
209
209
boot_wait = " ${ var . boot_wait } "
210
- boot_iso {
211
- type = " scsi"
212
- iso_file = " ${ var . iso_file } "
213
- unmount = true
214
- iso_checksum = " none"
215
- }
210
+ boot_iso {
211
+ type = " scsi"
212
+ iso_file = " ${ var . iso_file } "
213
+ unmount = true
214
+ iso_checksum = " none"
215
+ }
216
216
bios = " ${ var . bios } "
217
217
cores = " ${ var . cores } "
218
218
cpu_type = " ${ var . cpu_type } "
@@ -257,6 +257,12 @@ source "proxmox-iso" "linux" {
257
257
source "proxmox-iso" "linux-efi" {
258
258
ballooning_minimum = " ${ var . ballooning_minimum } "
259
259
boot_command = [" ${ var . boot_command } " ]
260
+ boot_iso {
261
+ type = " scsi"
262
+ iso_file = " ${ var . iso_file } "
263
+ unmount = true
264
+ iso_checksum = " none"
265
+ }
260
266
boot_wait = " ${ var . boot_wait } "
261
267
bios = " ${ var . bios } "
262
268
cores = " ${ var . cores } "
@@ -278,7 +284,6 @@ source "proxmox-iso" "linux-efi" {
278
284
}
279
285
http_directory = " ${ path . cwd } /extra/files"
280
286
insecure_skip_tls_verify = true
281
- iso_file = " ${ var . iso_file } "
282
287
machine = " ${ var . machine } "
283
288
memory = " ${ var . memory } "
284
289
network_adapters {
@@ -302,7 +307,6 @@ source "proxmox-iso" "linux-efi" {
302
307
task_timeout = " ${ var . task_timeout } "
303
308
template_name = " ${ var . template } .${ local . packer_timestamp } "
304
309
token = " ${ var . proxmox_token } "
305
- unmount_iso = true
306
310
username = " ${ var . proxmox_username } "
307
311
}
308
312
@@ -332,5 +336,4 @@ build {
332
336
destination = " /etc/cloud/cloud.cfg"
333
337
source = " ${ path . cwd } /${ var . cloud-init_path } "
334
338
}
335
-
336
339
}
0 commit comments