-
Notifications
You must be signed in to change notification settings - Fork 0
/
post_installation.doc
27 lines (20 loc) · 1 KB
/
post_installation.doc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
-- Acesse o ProxMox
-- Selecione o nó PVE
-- Clique no shell
-- Execute os comandos a baixo
-- Access ProxMox
-- Select PVE node
-- Click on shell
-- Execute the commands below
# Desativar Repositório Comercial
# Disable Commercial Repository
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list
apt-get update
# Adicionar repositório da comunidade PVE
# Add PVE Community Repository
echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-no-enterprise.list
apt-get update
# Remover mensagem lembrete
# Remove nag message
echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!//;s/Active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" > /etc/apt/apt.conf.d/no-nag-script
apt --reinstall install proxmox-widget-toolkit