mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
Merge pull request #9570 from ioito/hotfix/qx-to-network-config
fix(region): 避免从云上同步下来的主机,创建相同配置时network_id为空
This commit is contained in:
@@ -5408,6 +5408,7 @@ func (self *SGuest) ToNetworksConfig() []*api.NetworkConfig {
|
||||
|
||||
// XXX: same wire
|
||||
netConf.Wire = network.WireId
|
||||
netConf.Network = network.Id
|
||||
netConf.Exit = guestNetwork.IsExit()
|
||||
// netConf.Private
|
||||
// netConf.Reserved
|
||||
|
||||
Reference in New Issue
Block a user