static usb ethnet addresses
[automated-distro-installer] / fai / config / hooks / instsoft.DEBIAN
index ebf7d8ac9ef28831efb4fbda4bd2793ddd884625..d6f1ad1f5b9fcd8cd417292b8a90adac09f77e40 100755 (executable)
@@ -1,5 +1,6 @@
 #! /bin/bash
 
+set -x
 # if package locales will be installed, then install it early, before
 #  other packages
 if [ $FAI_ACTION != "install" -a $FAI_ACTION != "dirinstall" ]; then
@@ -7,11 +8,9 @@ if [ $FAI_ACTION != "install" -a $FAI_ACTION != "dirinstall" ]; then
 fi
 
 fcopy -Bi /etc/apt/apt.conf.d/force_confdef
-ainsl -a  /etc/ucf.conf "^conf_force_conffold=YES"
 
 # in case the locales are already included inside the base file (Ubuntu)
 if [ -f $target/usr/sbin/locale-gen ]; then
-    $ROOTCMD dpkg-reconfigure -fnoninteractive locales
     exit
 fi
 
@@ -24,3 +23,6 @@ if [ $? -eq 0 ]; then
        $ROOTCMD apt-get -y install locales > /dev/null
     fi
 fi
+
+# use zstd for dracut initrd
+ainsl -av /etc/dracut.conf.d/11-debian.conf "compress=zstd"