Skip to content

Adding unattended upgrades to the pre install script - #564

Open
3alpha wants to merge 6 commits into
masterfrom
3alpha/add-unattendedupgrades
Open

Adding unattended upgrades to the pre install script#564
3alpha wants to merge 6 commits into
masterfrom
3alpha/add-unattendedupgrades

Conversation

@3alpha

@3alpha3alpha commented May 17, 2023

Copy link
Copy Markdown
Member

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 ownerMay 17, 2023 17:27
Comment threadscripts/dappnode_install_pre.sh Outdated
dsimog01
dsimog01 previously approved these changes Jul 21, 2023
@3alpha

Copy link
Copy Markdown
MemberAuthor

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

@3alpha
3alphaforce-pushed the 3alpha/add-unattendedupgrades branch from bd070ea to 7996c17CompareJuly 24, 2023 10:10

@pablomendezroyopablomendezroyo left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor

@3alpha 👀

Sign up for freeto 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

@3alpha@pablomendezroyo@dsimog01