Add --force-confold flag for use with apt-get dist-upgrade

for the occasional config file prompt, let's just be safe for now
This commit is contained in:
Lance Edgar 2018-07-03 23:08:01 -05:00
parent bf4ac2f676
commit 09c3fca17c

View file

@ -82,7 +82,7 @@ def dist_upgrade(frontend='noninteractive'):
Perform a full ``apt-get dist-upgrade`` operation.
"""
update()
sudo('DEBIAN_FRONTEND={} apt-get --assume-yes dist-upgrade'.format(frontend))
sudo('DEBIAN_FRONTEND={} apt-get --assume-yes --force-confold dist-upgrade'.format(frontend))
def configure_listchanges():