-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preseed and Bypass Try/Install screen in ubuntu 14.04, 16.04 #3521
Comments
See chef/bento#482 You have to use a "boot_command": [
"<enter><wait><f6><esc><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"/install/vmlinuz<wait>",
" auto<wait>",
" console-setup/ask_detect=false<wait>",
" console-setup/layoutcode=us<wait>",
" console-setup/modelcode=pc105<wait>",
" debconf/frontend=noninteractive<wait>",
" debian-installer=en_US<wait>",
" fb=false<wait>",
" initrd=/install/initrd.gz<wait>",
" kbd-chooser/method=us<wait>",
" keyboard-configuration/layout=USA<wait>",
" keyboard-configuration/variant=USA<wait>",
" locale=en_US<wait>",
" netcfg/get_domain=vm<wait>",
" netcfg/get_hostname=vagrant<wait>",
" grub-installer/bootdev=/dev/sda<wait>",
" noapic<wait>",
" preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `preseed_path`}}<wait>",
" -- <wait>",
"<enter><wait>"
], |
cool thnx! Is there an option that bypasses the initial screen in desktop iso? |
I think this should work across all flavours of Ubuntu, but I haven't tried it. |
Unfortunately it does not work with the desktop iso, i just tried it, while with the server one everything runs smoothly. |
I think you can just use the server iso and then run |
I managed to get to the advanced page (as in the server case) with a modified version of what you posted:
But the problem i think is the installer itself which is graphical anyway. Even if i pass the boot options then after I thought of manually installing the desktop but it would be best if there was a workaround. |
I guess its common practice: |
@skonto Yeah unfortunately there are quite a few bugs in the 16.04 installer, so some things that should work, don't. The long list of backspaces is one of them, because the normal text-input boot command doesn't work. Sounds like you've got things figured out, and there are lots of good examples to look at online if you need more reference material. Please feel free to re-open if you're still having trouble. |
Hello im packer newbie.
Preseeding seems not working in desktop versions and 16.04 server version, i cannot get the try it/install screen bypassed. Is there something im missing? I have seen there was an issue with the boot command in 16.04.
Still hard to find a properly working example with packer.
Virtualbox 5.0.18
Packer json template:
https://gist.github.com/skonto/14430bf86ce4ab10851f159c7c0fe1e3
The text was updated successfully, but these errors were encountered: