53GB

Ubuntu 23.04 Cloud init Image with sudo Password on Proxmox



Ubuntu 23.04 Cloud init Image with sudo Password on Proxmox

This walks the viewer how to make a ubuntu 23.04 cloud init image and set it up on Proxmox so that you have a sudo password

Links and Commands
Image Found at: https://cloud-images.ubuntu.com/releases/releases/23.04/release/

Download Image:
wget https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-amd64.img

Rename image:
cp ubuntu-23.04-server-cloudimg-amd64.img ubuntu-23-04.qcow2

Install software:
virt-customize -a ubuntu-23-04.qcow2 –install qemu-guest-agent
virt-customize -a ubuntu-23-04.qcow2 –run-command ‘apt-get update’
virt-customize -a ubuntu-23-04.qcow2 –run-command ‘apt-get upgrade -y’
virt-customize -a ubuntu-23-04.qcow2 –run-command ‘adduser test’
virt-customize -a ubuntu-23-04.qcow2 –run-command ‘echo “test:test22” | chpasswd’
virt-customize -a ubuntu-23-04.qcow2 –run-command ‘adduser test sudo’

Resize Image:
qemu-img resize ubuntu-23-04.qcow2 10G

Links in our description may be affiliate links which help our channel grow.

Become a Patreon:
https://www.patreon.com/VirtualizeEverything
Check out our new merch store:
https://store.virtualizeeverything.com/
Gear we use:
https://virtualizeeverything.com/gear-we-use/

Fuel our coffee cravings:
BTC: bc1qmqe5n7pnep95dzknh48yf3x3c70wcf0r3jvd0x

Exit mobile version