docs: remove apt repo fixes and rely on proxmox helper script
This commit is contained in:
parent
7bdc32828c
commit
0f0bcce6d2
2 changed files with 8 additions and 11 deletions
|
|
@ -22,13 +22,6 @@ resource "null_resource" "bare_metal_setup" {
|
|||
inline = [
|
||||
"set -euo pipefail",
|
||||
|
||||
"echo '==> Applying post-pve-install fixes (fixing repos)...'",
|
||||
"rm -f /etc/apt/sources.list.d/pve-enterprise.list",
|
||||
"echo 'deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription' > /etc/apt/sources.list.d/pve-no-subscription.list",
|
||||
|
||||
"echo '==> Disabling the No Valid Subscription nag screen...'",
|
||||
"sed -i.bak \"s/data.status !== 'Active'/false/g\" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js",
|
||||
"systemctl restart pveproxy",
|
||||
|
||||
"echo '==> Setting laptop lid switch to ignore (prevents sleeping when closed)...'",
|
||||
"sed -i 's/^#\\?HandleLidSwitch=.*/HandleLidSwitch=ignore/' /etc/systemd/logind.conf",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue