Changeset 1350


Ignore:
Timestamp:
02/12/07 13:45:16 (6 years ago)
Author:
mglb1
Message:

While I'm sure -q -y used to work fine for unattended installations this
doesn't seem to be the case any longer.

UCF_FORCE_CONFFOLD=yes /usr/bin/apt-get -y \

-o Dpkg::Options::="--force-confold" dist-upgrade

has been tested to work well. This also gives the more desirable behaviour
of retaining any local changes, as opposed to overwriting them. Usually we
care more about the installation proceeding as CFengine will fix up the
config files afterwards, but preserving configs if possible doesn't hurt
either.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccsd/private/templates/network/cfconf/cf_crcnet.tmpl

    r1349 r1350  
    8787    dist_upgrade:: 
    8888        "/usr/bin/apt-get update" 
    89         "/usr/bin/apt-get -y dist-upgrade" 
     89        "UCF_FORCE_CONFFOLD=yes /usr/bin/apt-get -y -o Dpkg::Options::=$(quote)--force-confold$(quote) dist-upgrade" 
    9090 
    9191editfiles: 
Note: See TracChangeset for help on using the changeset viewer.