Setup your ubuntu server in iPadOS with UTM
This is the note on serving your Ubuntu server from iPadOS/ iOS with UTM, I am running 0.8 now.
Download image
1 | wget https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img |
Configure Password for the image, here we use chroot instead of config drive, the reason is at bottom.
Use chroot to set password for the cloud image as follow:
1 | $sudo modprobe nbd max_part=1 |
Use cloud drive is with ISSUES on UTM, as the nic mac address was fetched as
00:00:00:00
and it won’t proceed to configure the user data we put in the cloud drive…
1 | RuntimeError Not all expected physical devices present 00:00:00:00 |
In case it worked someday, you could simply do it as follow:
Let’s reuse the script created by Jan Walraven, ref: here
1 | brew install qemu coreutils cdrtools |
Or in Debian
1 | sudo apt install qemu-utils cloud-utils |
Add above iso image to VM and mounted as a CD device, boot from your HDD device(the cloud image), it should configure yor password and ssh key as above user-data.