diff options
Diffstat (limited to 'share/scripts')
-rwxr-xr-x | share/scripts/debconf.d/0001-preseed-file | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/scripts/debconf.d/0001-preseed-file b/share/scripts/debconf.d/0001-preseed-file index efd59ed..5b646c4 100755 --- a/share/scripts/debconf.d/0001-preseed-file +++ b/share/scripts/debconf.d/0001-preseed-file @@ -38,6 +38,11 @@ then # available on the system matching the container name db_set cnt-debconf/preseed-file "${CONFIG}/${NAME}.cfg" db_fset cnt-debconf/preseed-file seen true +elif [ -e "${CONFIG}/default.cfg" ] +then + # user did not specify a pressed file, but there is a default one + db_set cnt-debconf/preseed-file "${CONFIG}/default.cfg" + db_fset cnt-debconf/preseed-file seen true elif ls "${CONFIG}"/*.cfg > /dev/null 2>&1 then # user has not specified preseed files through commandline option, |