mirror of https://github.com/kubernetes/kops.git
Add enablediskuuid extraconfig in VM spec
This commit is contained in:
parent
2da57ef142
commit
b9a4556324
|
|
@ -180,7 +180,11 @@ func (c *VSphereCloud) CreateLinkClonedVm(vmName, vmImage *string) (string, erro
|
|||
snapshotRef := snapshot.Reference()
|
||||
|
||||
cloneSpec := &types.VirtualMachineCloneSpec{
|
||||
Config: &types.VirtualMachineConfigSpec{},
|
||||
Config: &types.VirtualMachineConfigSpec{
|
||||
Flags: &types.VirtualMachineFlagInfo{
|
||||
DiskUuidEnabled: fi.Bool(true),
|
||||
},
|
||||
},
|
||||
Location: types.VirtualMachineRelocateSpec{
|
||||
Pool: &resPoolRef,
|
||||
DiskMoveType: "createNewChildDiskBacking",
|
||||
|
|
|
|||
Loading…
Reference in New Issue