mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-17 16:26:57 +08:00
zstack using shell to init image password
This commit is contained in:
@@ -137,6 +137,10 @@ func (self *SZStackGuestDriver) IsNeedInjectPasswordByCloudInit(desc *cloudprovi
|
||||
return true
|
||||
}
|
||||
|
||||
func (self *SZStackGuestDriver) GetUserDataType() string {
|
||||
return cloudprovider.CLOUD_SHELL
|
||||
}
|
||||
|
||||
func (self *SZStackGuestDriver) GetLinuxDefaultAccount(desc cloudprovider.SManagedVMCreateConfig) string {
|
||||
userName := "root"
|
||||
if desc.ImageType == "system" && desc.OsType == "Windows" {
|
||||
|
||||
Reference in New Issue
Block a user