Useful Ubuntu 22.04/24.04 VM Commands #272
Replies: 10 comments 7 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.
-
|
Get SSH going option b: i cant tell you why this above link worked and the commands from this guide didn't D: but if there's another soul out there stuck and desperate to ssh, maybe this can help? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
If you want to add the GNOME desktop:(assuming you've already done Install GNOME desktop only, no apps: Install GNOME and core apps only: Install GNOME and additional software such as LibreOffice: Then you might want GNOME Tweaks for customizing: Once installed, you'll need to reboot the VM. After which you can access using noVNC. |
Beta Was this translation helpful? Give feedback.
-
|
After installation, what is the default password to access with SSH ? |
Beta Was this translation helpful? Give feedback.
-
|
Corrected code below: |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
I need help to change sourcelist to BR. I change on /etc/apt/ubuntu.sources but after restart, he returns to the default and loses any alterations he made. |
Beta Was this translation helpful? Give feedback.
-
|
I don't know why but mine just started automatically. I had to quickly move from pve shell to the new VM and then stop it. Then change the cloud-init settings and then start it. This worked on the second try, the first one I ended up with a VM with no logon so I just deleted it ;) |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
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/sdaresizepart 1Fix/Ignore?
FixPartition number?
1Yes/No?
YesEnd? [2146MB]?
-0(parted)
quitreboot
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