mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-07-03 16:12:38 +00:00
#25 fix Project no longer builds
This commit is contained in:
parent
3f91d2f5e2
commit
3f07e92a3d
|
@ -61,9 +61,8 @@ func applyFn(ctx context.Context) error {
|
|||
return err
|
||||
}
|
||||
time.Sleep(10 * time.Second)
|
||||
vmParams := map[string]string{
|
||||
"net1": data.Get("net1").(string),
|
||||
}
|
||||
var vmParams map[string]interface{}
|
||||
vmParams["net1"] = data.Get("net1").(string)
|
||||
_, err = client.SetVmConfig(vmr, vmParams)
|
||||
time.Sleep(10 * time.Second)
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue
Block a user