mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-10-03 01:01:05 +00:00
sleep a bit more to allow vm internal udev to reconfigure networks for you
This commit is contained in:
parent
9488f6f4a4
commit
282df594c6
@ -58,12 +58,12 @@ func applyFn(ctx context.Context) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
time.Sleep(5 * time.Second)
|
||||
time.Sleep(10 * time.Second)
|
||||
vmParams := map[string]string{
|
||||
"net1": data.Get("net1").(string),
|
||||
}
|
||||
_, err = client.SetVmConfig(vmr, vmParams)
|
||||
|
||||
time.Sleep(10 * time.Second)
|
||||
return err
|
||||
default:
|
||||
return fmt.Errorf("Unkown action: %s", act)
|
||||
|
Loading…
Reference in New Issue
Block a user