Add blacklisting in installer
This commit is contained in:
parent
326c1dff5c
commit
1d0dd0fab7
|
@ -122,6 +122,12 @@ cp ../../templates/theme.txt config/includes.chroot/boot/grub/theme.txt || fail
|
|||
cp ../../templates/splash.png config/includes.chroot/splash.png || fail "Failed to copy critical template file"
|
||||
echo "done."
|
||||
|
||||
# Install module blacklist template
|
||||
echo -n "Copying module blacklist template... "
|
||||
mkdir -p config/includes.chroot/etc/modprobe.d
|
||||
cp ../../templates/blacklist.conf config/includes.chroot/etc/modprobe.d/blacklist.conf || fail "Failed to copy critical template file"
|
||||
echo "done."
|
||||
|
||||
# Install install.sh script
|
||||
echo -n "Copying PVC node installer script template... "
|
||||
cp ../../templates/install.sh config/includes.chroot/install.sh || fail "Failed to copy critical template file"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
blacklist hpwdt
|
|
@ -869,7 +869,6 @@ EOF
|
|||
true
|
||||
;;
|
||||
esac
|
||||
echo "done."
|
||||
|
||||
echo -n "Setting temporary 'root' password... "
|
||||
echo "root:${root_password}" | chroot ${target} chpasswd >&2
|
||||
|
|
Loading…
Reference in New Issue