Importing global preseed files from /var/lib/live/debconfig/preseed, if any.
authorDaniel Baumann <mail@daniel-baumann.ch>
Tue, 28 May 2013 11:18:14 +0000 (13:18 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Tue, 28 May 2013 12:27:47 +0000 (14:27 +0200)
bin/live-debconfig

index 1a289d9..0337f2c 100755 (executable)
@@ -151,6 +151,15 @@ Main ()
 
        Setup_debconf
 
+       # Import global debconf preseed files for live-debconfig
+       for _FILE in /var/lib/live/debconfig/preseed/*
+       do
+               if [ -e "${_FILE}" ]
+               then
+                       live-debconfig-set-selections "${_FILE}"
+               fi
+       done
+
        # Show debconf multiselect dialog
        /lib/live/debconfig/multiselect ${_SCRIPTS}