Use regular cloud image for Ubuntu
The "KVM-optimized" image does not have CONFIG_VT enabled in the kernel, which prevents a getty from starting on tty1.
This commit is contained in:
parent
716d8b8293
commit
f033dca190
|
@ -74,7 +74,7 @@ func (mgr *UbuntuTemplateManager) GetLatestVersion() (version string, codename s
|
|||
// DownloadTemplate downloads the cloud image for the given Ubuntu codename,
|
||||
// and returns the filename to which it was written.
|
||||
func (mgr *UbuntuTemplateManager) DownloadTemplate(version, codename string) (path string, err error) {
|
||||
filename := fmt.Sprintf("%s-server-cloudimg-amd64-disk-kvm.img", codename)
|
||||
filename := fmt.Sprintf("%s-server-cloudimg-amd64.img", codename)
|
||||
url := fmt.Sprintf("https://cloud-images.ubuntu.com/%s/current/%s", codename, filename)
|
||||
return mgr.DownloadTemplateGeneric(filename, url)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue