mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
fix no pid file
This commit is contained in:
@@ -340,6 +340,7 @@ func (s *SKVMGuestInstance) generateStartScript(data *jsonutils.JSONDict) (strin
|
||||
}
|
||||
|
||||
cmd += fmt.Sprintf("STATE_FILE=`ls -d %s* | head -n 1`\n", s.getStateFilePathRootPrefix())
|
||||
cmd += fmt.Sprintf("PID_FILE=%s\n", s.GetPidFilePath())
|
||||
|
||||
var qemuCmd = qemutils.GetQemu(qemuVersion)
|
||||
cmd += fmt.Sprintf("DEFAULT_QEMU_CMD='%s'\n", qemuCmd)
|
||||
|
||||
Reference in New Issue
Block a user