mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix: 谷歌云建议关机下调整配置,部分linux开机也调整不了配置
This commit is contained in:
@@ -102,11 +102,7 @@ func (self *SGoogleGuestDriver) GetRebuildRootStatus() ([]string, error) {
|
||||
}
|
||||
|
||||
func (self *SGoogleGuestDriver) GetChangeConfigStatus(guest *models.SGuest) ([]string, error) {
|
||||
// Google Windows Server not support change config when vm running
|
||||
if strings.ToLower(guest.OsType) == strings.ToLower(osprofile.OS_TYPE_WINDOWS) {
|
||||
return []string{api.VM_READY}, nil
|
||||
}
|
||||
return []string{api.VM_READY, api.VM_RUNNING}, nil
|
||||
return []string{api.VM_READY}, nil
|
||||
}
|
||||
|
||||
func (self *SGoogleGuestDriver) GetDeployStatus() ([]string, error) {
|
||||
|
||||
Reference in New Issue
Block a user