fix: no need to inject password by cloud-init for qcloud

This commit is contained in:
ioito
2019-08-12 20:26:57 +08:00
parent 7ecf0219ac
commit 2821265f77
-4
View File
@@ -217,10 +217,6 @@ func (self *SQcloudGuestDriver) GetGuestInitialStateAfterRebuild() string {
return api.VM_RUNNING
}
func (self *SQcloudGuestDriver) IsNeedInjectPasswordByCloudInit(desc *cloudprovider.SManagedVMCreateConfig) bool {
return true
}
func (self *SQcloudGuestDriver) GetUserDataType() string {
return cloudprovider.CLOUD_SHELL
}