Score:0

Ubuntu 22.04 server automated install via NoCloud http doesn't find HTTP server

in flag

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?

Andrew Lowther avatar
jp flag
Does the HTTP server see a request if you put quotes around `ds=nocloud-net;s=http://192.168.2.17:3003/`? The semi-colon causes problems.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.