summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-12 11:43:39 +0100
committerDaniel Baumann <daniel@debian.org>2012-12-12 11:43:41 +0100
commit8fd30d15b34ad04867f233a52cdc190a6cbba713 (patch)
treecfa75a590236518ff32d096881a20f27ec476254 /functions/defaults.sh
parentf55ff084be6db41a0ef9bfd53172a68f710aaaff (diff)
downloadvyos-live-build-8fd30d15b34ad04867f233a52cdc190a6cbba713.tar.gz
vyos-live-build-8fd30d15b34ad04867f233a52cdc190a6cbba713.zip
Adding default hook to remove mdadm configuration.
mdadm creates a /etc/mdadm/mdadm.conf configuration file on package installation which contains array information from the build system.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 03d8069e9..8d18d449f 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -630,7 +630,8 @@ Set_defaults ()
remove-openssh-server-host-keys \
remove-python-py \
remove-udev-persistent-rules \
- remove-linux-image-backups}"
+ remove-linux-image-backups \
+ remove-mdadm-configuration}"
;;
kubuntu)
@@ -642,7 +643,8 @@ Set_defaults ()
remove-openssh-server-host-keys \
remove-python-py \
remove-udev-persistent-rules \
- remove-linux-image-backups}"
+ remove-linux-image-backups \
+ remove-mdadm-configuration}"
;;
esac