summaryrefslogtreecommitdiffstats
path: root/share/create-scripts/debconf.d/0001-preseed-file
diff options
context:
space:
mode:
Diffstat (limited to 'share/create-scripts/debconf.d/0001-preseed-file')
-rwxr-xr-xshare/create-scripts/debconf.d/0001-preseed-file2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/create-scripts/debconf.d/0001-preseed-file b/share/create-scripts/debconf.d/0001-preseed-file
index 33f5427..c1a311d 100755
--- a/share/create-scripts/debconf.d/0001-preseed-file
+++ b/share/create-scripts/debconf.d/0001-preseed-file
@@ -23,6 +23,7 @@ PROJECT="open-infrastructure"
SOFTWARE="compute-tools"
PROGRAM="container"
+CONFIG="/etc/${SOFTWARE}/config"
DEBCONF="/etc/${SOFTWARE}/debconf"
DEBCONF_NOWARNINGS="true"
@@ -79,6 +80,7 @@ then
;;
exit)
+ rm -f "${CONFIG}/${NAME}.conf"
exit 1
;;