Useful Ubuntu 22.04/24.04 VM Commands #272
Replies: 2 comments 2 replies
-
Using the Ubuntu 24.04 script. |
Beta Was this translation helpful? Give feedback.
-
Just putting this here in case someone else has this problem. I had to set Cloud-Init IP Config (net0) to DHCP, otherwise I was getting network connectivity issues in the VM. This might be specific to me, but it took me an hour to figure out. In the end, before I clicked "Regenerate image", IP Config (net0) was set to "ip=DHCP" in the UI. |
Beta Was this translation helpful? Give feedback.
-
Copied from original post: tteck/Proxmox#2072
Setting up Cloud-Init
Now you can start the VM
Select xterm.js under the Console pull down for copy/paste functions
Resize the Bootdisk (/dev/sda)
Hardware > Hard Disk (scsi0) > Disk Action > Resize
Expand VM Disk using parted (/dev/sda1)
parted /dev/sda
resizepart 1
Fix/Ignore?
Fix
Partition number?
1
Yes/No?
Yes
End? [2146MB]?
-0
(parted)
quit
reboot
Get SSH Going
Add Guest Agent
reboot
Install Docker
Install Docker Compose
Add Dockge
Dockge GUI, https:// IP:5001
Add Portainer
Portainer GUI, https:// IP:9443
Beta Was this translation helpful? Give feedback.
All reactions