fix(region): incloudsphere vm ip

This commit is contained in:
ioito
2022-10-13 17:15:01 +08:00
parent 7c9e7aaa85
commit 81915cd658
+1 -2
View File
@@ -316,8 +316,7 @@ func (self *SHost) CreateVM(opts *cloudprovider.SManagedVMCreateConfig) (cloudpr
DeviceType: "NETWORK",
Model: "E1000",
Queues: 1,
BindIP: opts.IpAddr,
BindIPEnable: len(opts.IpAddr) > 0,
IP: opts.IpAddr,
},
},
"panickPolicy": "NO_ACTION",