add noninteractive to debian module per #602

reviewable/pr18780/r1
Michael DeHaan 12 years ago
parent 5916bb97bc
commit 72aefdb609

2
apt

@ -33,7 +33,7 @@ import warnings;
warnings.filterwarnings('ignore', "apt API not stable yet", FutureWarning) warnings.filterwarnings('ignore', "apt API not stable yet", FutureWarning)
APT_PATH = "/usr/bin/apt-get" APT_PATH = "/usr/bin/apt-get"
APT = "DEBIAN_PRIORITY=critical %s" % APT_PATH APT = "DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical %s" % APT_PATH
def exit_json(rc=0, **kwargs): def exit_json(rc=0, **kwargs):
print json.dumps(kwargs) print json.dumps(kwargs)

Loading…
Cancel
Save