NDG PVE Post Install ScriptΒΆ

This section will walk you through running the NDG PVE Post Install Script. This is a custom script that completes the following items:

  • Corrects the Proxmox VE Sources to the generic repositories.

  • Disables the ceph repositories.

  • Disables the pve-enterprise repository.

  • Enables pve-no-subscription repository.

  • Removes the default local-lvm datastore freeing space for the operating system.

  • Disables high availability.

  • Register NDG tags to datacenter for better visibility and troubleshooting in the UI.

  • Create custom CPU models.

  • Setup Prometheus Node Exporter.

  • Updates Proxmox VE to the latest version.

  • Reboots the system.

Tip

This script requires your PVE have internet access.


Navigate to your PVE Install in a web browser https://(ip_address):8006. Fill in information for the User name and Password fields. Then click on the Login button to continue.

Danger

You must set the root account password the same on all Proxmox VE systems (i.e. management and host servers). Please see Root Account for more information.

Login Screen

On the No valid subscription popup, click the OK button to continue.

No valid subscription

Proxmox recommends a subscription (there are four subscription levels) when used in a production environment. A Proxmox VE subscription, depending on the model, provides features like enterprise update repositories, professional and remote support assistance, and more.


Using your navigation panels, in the Resource Tree, navigate to Datacenter > your_server. In the Content Panel, select Shell.

Note

In this example, the server is host22.

Shell

In the shell window, enter the following command and press Enter:

bash -c "$(curl -fsSL https://ndg.tech/pve-post-install)"

Tip

You can copy the above command and paste into the shell.

Bash Script

At the script prompt, enter y and press Enter to continue.

Script - Proceed

Once the script has completed, press Enter at the Reboot screen.

Script - Reboot

You should see the following screen if everything went correctly.

Script - Complete