Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the section Automating updates for Debian-based systems, Page 291:
1 # File: /etc/apt/apt.conf.d/50unattended-upgrades 2 Unattended-Upgrade::Automatic-Reboot "false"; 3 4 Unattended-Upgrade::Allowed-Origins { 5 "Ubuntu lucid-security"; 6 // "Ubuntu lucid-updates"; 7 };
Lucid is Ubuntu's 10.04 release. For 18.04, this should be replaced with bionic.
The text was updated successfully, but these errors were encountered:
Yikes, you're right. I must've written that example a very long time ago.
The latest version has placeholders so it should be like:
# File: /etc/apt/apt.conf.d/50unattended-upgrades Unattended-Upgrade::Automatic-Reboot "false"; Unattended-Upgrade::DevRelease "false"; Unattended-Upgrade::Allowed-Origins { "${distro_id}:${distro_codename}"; "${distro_id}:${distro_codename}-security"; "${distro_id}ESM:${distro_codename}"; // "${distro_id}:${distro_codename}-updates"; // "${distro_id}:${distro_codename}-proposed"; // "${distro_id}:${distro_codename}-backports"; };
Sorry, something went wrong.
This has been fixed in the book (as well as the RHEL section which needed to note that it's dnf-automatic in RHEL 8 instead of yum-cron). It will be in the next batch of updates. Thanks!
dnf-automatic
yum-cron
No branches or pull requests
In the section Automating updates for Debian-based systems, Page 291:
1 # File: /etc/apt/apt.conf.d/50unattended-upgrades
2 Unattended-Upgrade::Automatic-Reboot "false";
3
4 Unattended-Upgrade::Allowed-Origins {
5 "Ubuntu lucid-security";
6 // "Ubuntu lucid-updates";
7 };
Lucid is Ubuntu's 10.04 release. For 18.04, this should be replaced with bionic.
The text was updated successfully, but these errors were encountered: