mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 02:37:24 +08:00
Merge pull request #18667 from wanyaoqi/automated-cherry-pick-of-#18665-upstream-master
Automated cherry pick of #18665: fix(regin): instance snapshot create guest fill os arch
This commit is contained in:
@@ -499,6 +499,7 @@ func (self *SInstanceSnapshot) ToInstanceCreateInput(
|
||||
sourceInput.Secgroups = inputSecgs
|
||||
}
|
||||
sourceInput.OsType = self.OsType
|
||||
sourceInput.OsArch = self.OsArch
|
||||
sourceInput.InstanceType = self.InstanceType
|
||||
if len(sourceInput.Networks) == 0 {
|
||||
sourceInput.Networks = serverConfig.Networks
|
||||
|
||||
Reference in New Issue
Block a user