diff options
-rwxr-xr-x | vm-data/worker.customize | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/vm-data/worker.customize b/vm-data/worker.customize index 7127bf4..a311129 100755 --- a/vm-data/worker.customize +++ b/vm-data/worker.customize @@ -2,7 +2,7 @@ # # vm-data/worker.customize - customize disk image for jenkins worker node # -# Copyright 2012 Lars Wirzenius +# Copyright 2012-2013 Lars Wirzenius # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -23,6 +23,12 @@ export LC_ALL=C rootdir="$1" +# Configure dpkg to prefer the old version of a conffile, so upgrades +# (especially of sid) will work without prompting. +cat <<EOF > "$rootdir/etc/dpkg.cfg" +force-confold +EOF + # Install signing key for the code.liw.fi repository. wget -q -O - http://code.liw.fi/apt.asc | chroot "$rootdir" apt-key add - |