@Skreadz
What you need is this to get it ‘work’
:jammy-desktop
set base-url http://server.example.com/iso/ubuntu/22.04
kernel ${base-url}/vmlinuz
initrd ${base-url}/initrd
imgargs vmlinuz initrd=initrd cloud-config-url=/dev/null ip=dhcp root=/dev/ram0 ramdisk_size=4800000 url=${base-url}/ubuntu-22.04.2-desktop-amd64.iso autoinstall ds=nocloud-net;s=${base-url}/
boot || goto failed
- Mount the ‘desktop’/‘server’ to your local disk
- Extract the vmlinux and initrd, copy them to the baseurl location
- The root and ramdisk_size is necessary because the ISO is to large.
The code above works fine with ubuntu 22 server but for the desktop I am facing a issue.
The desktop will start direct to the GUI interface from where you can run the installer.
For the server it will run directly to the installer and so the ckoud-init file works fine.