Skip to content

Commit

Permalink
Merge pull request #11669 from b10n1k/fix_ubuntu_timeout
Browse files Browse the repository at this point in the history
Fix ubuntu lock issue with apt
  • Loading branch information
pdostal committed Jan 5, 2021
2 parents 08f602f + 610f812 commit a5886ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/containers/host_configuration.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ sub run {
else {
assert_script_run "dhclient -v";
assert_script_run "curl http://ca.suse.de/certificates/ca/SUSE_Trust_Root.crt -o /etc/ssl/certs/SUSE_Trust_Root.crt";
# Stop unattended-upgrades on Ubuntu hosts to prevent interference from automatic updates
assert_script_run "sed -i 's/Unattended-Upgrade \"1\"/Unattended-Upgrade \"0\"/' /etc/apt/apt.conf.d/20auto-upgrades" if check_os_release("ubuntu", "PRETTY_NAME");
}
}

Expand Down

0 comments on commit a5886ff

Please sign in to comment.