packer-cn/builder/ucloud/uhost/consts.go

25 lines
669 B
Go
Raw Normal View History

2019-06-13 03:16:49 -04:00
package uhost
const (
// defaultPasswordStr, defaultPasswordNum and defaultPasswordSpe are used to general default value of root password of UHost instance
defaultPasswordNum = "012346789"
defaultPasswordStr = "abcdefghijklmnopqrstuvwxyz"
defaultPasswordSpe = "-_"
)
2019-06-13 08:17:08 -04:00
const (
2019-06-19 09:32:33 -04:00
osTypeWindows = "Windows"
securityGroupNonWeb = "recommend non web"
instanceStateRunning = "Running"
instanceStateStopped = "Stopped"
bootDiskStateNormal = "Normal"
imageStateAvailable = "Available"
ipTypePrivate = "Private"
2019-06-13 08:17:08 -04:00
)
2019-06-13 03:16:49 -04:00
var bootDiskTypeMap = map[string]string{
"cloud_ssd": "CLOUD_SSD",
"local_normal": "LOCAL_NORMAL",
"local_ssd": "LOCAL_SSD",
}