Post

Proxmox Post-Install

Proxmox Post-Install

Proxmox Post Install

Log into Proxmox

Log into Proxmox using your SSH client:

1
ssh root@(ip address)

Set Repositories

Open the sources list file:

1
nano /etc/apt/sources.list

Make sure these repositories are listed:

1
2
deb http://ftp.debian.org/debian bullseye main contrib 
deb http://ftp.debian.org/debian bullseye-updates main contrib 

Note: The following repository is NOT recommended for production use:

1
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

Security Updates

Add the following line to your sources list:

1
deb http://security.debian.org/debian-security bullseye-security main contrib

Comment out the Subscription

Remove the enterprise repository file:

1
rm /etc/apt/sources.list.d/pve-enterprise.list

Update the System

Run the following commands to update your system:

1
apt update && apt upgrade

Update the Container Library

Update the container images:

1
pveam update

View Available Images

To view the list of available images, run:

1
pveam available

Remove License Banner

To remove the “No valid subscription” banner, follow these steps:

1
2
3
4
ssh root@(ip address)
cd /usr/share/javascript/proxmox-widget-toolkit
cp proxmoxlib.js proxmoxlib.js.bak
nano interfaces

In nano, press ctrl+w and search for No valid subscription.

Change the following line to:

1
2
3
void({ //Ext.Msg.show({ 

  title: gettext('No valid subscription'), 

Restart the pveproxy service:

1
systemctl restart pveproxy.service

Remove and Resize Local Drive

Commands for single drive storage:

1
2
3
lvremove /dev/pve/data
lvresize -l +100%FREE /dev/pve/root
resize2fs /dev/mapper/pve-root
This post is licensed under CC BY 4.0 by the author.