I'm following this guide to run a server install "unattended". To try to simplify this for running from my MacOS desktop I'm replacing KVM with VirtualBox and so I'm running it a little differently...
The instructions tell me to run with KVM:
kvm -no-reboot -m 2048 \
-drive file=image.img,format=raw,cache=none,if=virtio \
-cdrom ~/Downloads/ubuntu-22.10-live-server-amd64.iso \
-kernel /mnt/casper/vmlinuz \
-initrd /mnt/casper/initrd \
-append 'autoinstall ds=nocloud-net;s=http://_gateway:3003/'
I interpret this to mean that I can:
Run a virtualbox VM with
- an empty virtual hard drive
ubuntu-22.04.2-live-server-amd64.iso
in the virtual CD drive
- A "bridge" network giving the guest a network interface on the same network as the host
press E at the grub prompt over Try or Install Ubuntu Server
modify the line starting linux
to say
linux /casper/vmlinuz autoinstall ds=nocloud-net;s=http://192.168.2.17:3003/
My host's IP address is 192.168.2.17
The problem is that the arguments seem to be ignored. The installer runs right forward and asks me for a language.
I've confirmed that the HTTP server is never touched (nothing in the access log)
I've confirmed another VM with identical networking setup can access the webserver just fine and leave appropriate records (both http 200 and http 404) in the the access log.
What am I missing. How is this supposed to work without KVM?