mirror of https://github.com/kubernetes/kops.git
Merge pull request #5796 from justinsb/recognize_ubuntu
Recognize ubuntu images in sshUser dumping
This commit is contained in:
commit
2a25ea58de
|
|
@ -477,6 +477,8 @@ func guessSSHUser(image *ec2.Image) string {
|
|||
return "core"
|
||||
case awsup.WellKnownAccountKopeio:
|
||||
return "admin"
|
||||
case awsup.WellKnownAccountUbuntu:
|
||||
return "ubuntu"
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ const (
|
|||
WellKnownAccountRedhat = "309956199498"
|
||||
WellKnownAccountCoreOS = "595879546273"
|
||||
WellKnownAccountAmazonSystemLinux2 = "137112412989"
|
||||
WellKnownAccountUbuntu = "099720109477"
|
||||
)
|
||||
|
||||
type AWSCloud interface {
|
||||
|
|
|
|||
Loading…
Reference in New Issue