Comment 0 for bug 1505839

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

I use packer (https://www.packer.io) to automate the creation of Ubuntu virtual machine images. It's "boot_command" allows you to pass key presses to the installer. For 15.04, I use something like this:

-----

            "boot_command": [
                "<esc><esc><enter><wait>",
                "/install/vmlinuz auto url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-15-04.cfg ",
                "debian-installer=en_US locale=en_US kbd-chooser/method=us ",
                "hostname={{ .Name }} ",

                "keyboard-configuration/modelcode=SKIP ",
                "keyboard-configuration/layout=USA ",
                "keyboard-configuration/variant=USA ",

                "initrd=/install/initrd.gz -- <enter>"
            ],

----

Pressing escape twice and then enter brings you to the text mode interface and then it boots the installer with a preseed file served over HTTP:

    /install/vmlinuz auto url=http://10.0.2.2:8081/ubuntu-15-04.cfg debian-installer=en_US locale=en_US kbd-chooser/method=us hostname=myhostname keyboard-configuration/modelcode=SKIP keyboard-configuration/layout=USA keyboard-configuration/variant=USA initrd=/install/initrd.gz --

This successfully boots and installs on 15.04. On 15.10 it displays:

----

Loading bootlogo...

Initializing gfx code...

----

And then returns to the to the language selection screen. Manually booting the iso and entering the text mode interface, the same thing happens.

I see others are running into this as well https://github.com/boxcutter/ubuntu/issues/22