From a26e3e6887b89a57d1e5755735ff3cac8fa4a8d3 Mon Sep 17 00:00:00 2001 From: Jeff Wong Date: Tue, 6 Oct 2020 16:04:18 -0700 Subject: [PATCH] [Proxmox] FIX: tests, add required iso_file to basic iso config tests --- builder/proxmox/common/config.go | 2 -- builder/proxmox/iso/config_test.go | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/builder/proxmox/common/config.go b/builder/proxmox/common/config.go index f4a7f7801..1428345f9 100644 --- a/builder/proxmox/common/config.go +++ b/builder/proxmox/common/config.go @@ -58,8 +58,6 @@ type Config struct { CloudInit bool `mapstructure:"cloud_init"` CloudInitStoragePool string `mapstructure:"cloud_init_storage_pool"` - shouldUploadISO bool - AdditionalISOFiles []storageConfig `mapstructure:"additional_iso_files"` VMInterface string `mapstructure:"vm_interface"` diff --git a/builder/proxmox/iso/config_test.go b/builder/proxmox/iso/config_test.go index c1de47b64..8164d02f6 100644 --- a/builder/proxmox/iso/config_test.go +++ b/builder/proxmox/iso/config_test.go @@ -227,5 +227,6 @@ func mandatoryConfig(t *testing.T) map[string]interface{} { "password": "supersecret", "node": "my-proxmox", "ssh_username": "root", + "iso_file": "local:iso/Fedora-Server-dvd-x86_64-29-1.2.iso", } }