mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #13382 from swordqiu/hotfix/qj-qemu-img-force-share
fix: qemu-img info force share (-U)
This commit is contained in:
@@ -111,7 +111,7 @@ func (img *SQemuImage) parse() error {
|
||||
}
|
||||
}
|
||||
resp, err := func() (jsonutils.JSONObject, error) {
|
||||
output, err := procutils.NewRemoteCommandAsFarAsPossible(qemutils.GetQemuImg(), "info", img.Path, "--output", "json").Output()
|
||||
output, err := procutils.NewRemoteCommandAsFarAsPossible(qemutils.GetQemuImg(), "info", "-U", img.Path, "--output", "json").Output()
|
||||
if err != nil {
|
||||
return nil, errors.Wrapf(err, "qemu-img info")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user