mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-10 17:59:17 +00:00
Add logic to enable Ubuntu's automatic updates and include Plex
This commit is contained in:
parent
9c23b55bc0
commit
3204e28aae
@ -46,6 +46,14 @@ else
|
||||
fi
|
||||
msg_ok "Installed Plex Media Server"
|
||||
|
||||
msg_info "Setting up Automatic Updates"
|
||||
$STD apt-get install unattended-upgrades
|
||||
sed -i '/Unattended-Upgrade::Allowed-Origins {/a \\t"${distro_id}:${distro_codename}-updates";' /etc/apt/apt.conf.d/50unattended-upgrades
|
||||
sed -i '/Unattended-Upgrade::Allowed-Origins {/a \\t"site=downloads.plex.tv,component=main";' /etc/apt/apt.conf.d/50unattended-upgrades
|
||||
echo 'Unattended-Upgrade::Automatic-Reboot "true";' >> /etc/apt/apt.conf.d/50unattended-upgrades
|
||||
msg_info "Set Up Automatic Updates"
|
||||
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user