[tor-commits] [tor-cloud/master] dpkg should not cause conffile prompts
runa at torproject.org
runa at torproject.org
Tue Aug 7 15:00:20 UTC 2012
commit 4ccfb87a893fa6d1d8d4ae7c4f284fd8c92aef54
Author: Runa A. Sandvik <runa.sandvik at gmail.com>
Date: Tue Aug 7 16:00:12 2012 +0100
dpkg should not cause conffile prompts
---
ec2-prep.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ec2-prep.sh b/ec2-prep.sh
index 474cff6..331017c 100644
--- a/ec2-prep.sh
+++ b/ec2-prep.sh
@@ -60,6 +60,9 @@ Unattended-Upgrade::Allowed-Origins {
// Automatically reboot *WITHOUT CONFIRMATION* if the file
// /var/run/reboot-required is found after the upgrade
Unattended-Upgrade::Automatic-Reboot "true";
+
+// Do not cause conffile prompts
+Dpkg::Options { --force-confold; }
EOF
# Configure iptables to redirect traffic to port 443 to port 9001
More information about the tor-commits
mailing list