mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-29 03:51:54 +08:00
fix: save image for aarch64 os show os_arch of x86_64 (#13906)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
@@ -1005,12 +1005,14 @@ func (self *SDisk) PrepareSaveImage(ctx context.Context, userCred mcclient.Token
|
||||
GenerateName string
|
||||
VirtualSize int
|
||||
DiskFormat string
|
||||
OsArch string
|
||||
Properties map[string]string
|
||||
}{
|
||||
Name: input.Name,
|
||||
GenerateName: input.GenerateName,
|
||||
VirtualSize: self.DiskSize,
|
||||
DiskFormat: self.DiskFormat,
|
||||
OsArch: input.OsArch,
|
||||
Properties: map[string]string{
|
||||
"notes": input.Notes,
|
||||
"os_type": input.OsType,
|
||||
|
||||
Reference in New Issue
Block a user