Skip to content
New issue

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

Adding unattended upgrades to the pre install script #564

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

3alpha
Copy link
Member

@3alpha 3alpha commented May 17, 2023

Unattended upgrades help keep Debian/Ubuntu systems updated

Testing:

  • Running preinstall script on clean Debian install
  • Generating ISO and making sure that everything works

@3alpha 3alpha requested a review from a team as a code owner May 17, 2023 17:27
scripts/dappnode_install_pre.sh Outdated Show resolved Hide resolved
dsimog01
dsimog01 previously approved these changes Jul 21, 2023
@3alpha
Copy link
Member Author

3alpha commented Jul 21, 2023

@dsimog01 we need to add here exact same config we are adding to migration.

@3alpha 3alpha force-pushed the 3alpha/add-unattendedupgrades branch from bd070ea to 7996c17 Compare July 24, 2023 10:10
@3alpha 3alpha force-pushed the 3alpha/add-unattendedupgrades branch from 7996c17 to 5e0ab64 Compare July 24, 2023 10:34
Copy link
Contributor

@pablomendezroyo pablomendezroyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Require testing


# Check and configure auto-upgrades config file
auto_upgrades_file="/etc/apt/apt.conf.d/20auto-upgrades"
if [ ! -f "$auto_upgrades_file" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

regarding upgrades, the official docs encourages also to install the following pkg apt-listchanges why is it not been installed?

Check out https://wiki.debian.org/UnattendedUpgrades

@pablomendezroyo
Copy link
Contributor

@3alpha 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants