mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
add build file
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DESCRIPTION="Yunion Host Deploy Agent"
|
||||
@@ -1354,9 +1354,9 @@ func (s *SKVMGuestInstance) StaticSaveSnapshot(
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
location := path.Join(disk.GetSnapshotDir(), snapshotId)
|
||||
location := path.Join(disk.GetSnapshotLocation(), snapshotId)
|
||||
res := jsonutils.NewDict()
|
||||
res.Set("localtion", jsonutils.NewString(location))
|
||||
res.Set("location", jsonutils.NewString(location))
|
||||
return res, nil
|
||||
}
|
||||
|
||||
|
||||
@@ -226,7 +226,7 @@ func (s *SDeployService) PrepareEnv() error {
|
||||
}
|
||||
|
||||
if !winutils.CheckTool(DeployOption.ChntpwPath) {
|
||||
return fmt.Errorf("Failed to find chntpw tool")
|
||||
log.Errorf("Failed to find chntpw tool")
|
||||
}
|
||||
|
||||
output, err = procutils.NewCommand("pvscan").Run()
|
||||
|
||||
Reference in New Issue
Block a user