bunch of etiona updates
[automated-distro-installer] / fai / config / scripts / FLIDAS / 12-iank
diff --git a/fai/config/scripts/FLIDAS/12-iank b/fai/config/scripts/FLIDAS/12-iank
new file mode 100755 (executable)
index 0000000..27e285e
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/bash -x
+
+set -eE -o pipefail
+trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
+
+if [[ $EUID != 0 ]]; then
+  echo "$0: error: expected to be root."
+  exit 1
+fi
+
+
+# this is needed to enable resolvconf, making /etc/resolv.conf be a symlink.
+# why? i dun know, it\'s really  dumb.
+dpkg-reconfigure -fnoninteractive resolvconf