diff --git a/fwprovider/tests/resource_vm_test.go b/fwprovider/tests/resource_vm_test.go index ebdac0ee..2ba87865 100644 --- a/fwprovider/tests/resource_vm_test.go +++ b/fwprovider/tests/resource_vm_test.go @@ -103,6 +103,90 @@ func TestAccResourceVM(t *testing.T) { } } +func TestAccResourceVMInitialization(t *testing.T) { + providerConfig := getProviderConfig(t) + + tests := []struct { + name string + step []resource.TestStep + }{ + {"initialization works with cloud-init config provided over SCSI interface", []resource.TestStep{{ + Config: providerConfig + ` + resource "proxmox_virtual_environment_file" "cloud_config" { + content_type = "snippets" + datastore_id = "local" + node_name = "pve" + source_raw { + data = <