I'm trying to setup a bunch of servers to pxe boot Ubuntu fully into RAM (No hard drives), and run software fully in memory. I'm following the instructions here: https://itectec.com/ubuntu/ubuntu-au...-server-image/. So far my ipxe boot process works fine, and loads onto a server without a hard disk, but it just boots to the Installer screen (where it asks to select language, network settings etc...).
My current ipxe boot file looks like this:
Code:
#!ipxe
set base http://192.168.1.142/tftp
kernel ${base}/vmlinuz initrd=initrd.img url=http://192.168.1.142/tftp/ubuntu-20.04-live-server-amd64.iso autoinstall ds="nocloud-net;s=http://192.168.1.142/tftp/" root=/dev/ram0 cloud-config-url=/dev/null ip=dhcp
initrd ${base}/initrd
boot
I just have a few basic questions that someone familiar with Ubuntu could probably answer:
1. Is it possible to ipxe boot Ubuntu fully into RAM using the ubuntu-20.04-live-server-amd64.iso image, or do I need to create a custom iso somehow?
2. I've come across cloud images at: https://cloud-images.ubuntu.com/focal/current/ , but just a bit confused on how I could boot these in a private cloud. Is there any documentation or example ipxe files?
3. Is cloud-init compatible with booting a server fully into ram and configuring it in RAM?
Bookmarks