Add blacklisting in installer
This commit is contained in:
parent
8ba9c8c5bd
commit
30255292e2
|
@ -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"
|
cp ../../templates/splash.png config/includes.chroot/splash.png || fail "Failed to copy critical template file"
|
||||||
echo "done."
|
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
|
# Install install.sh script
|
||||||
echo -n "Copying PVC node installer script template... "
|
echo -n "Copying PVC node installer script template... "
|
||||||
cp ../../templates/install.sh config/includes.chroot/install.sh || fail "Failed to copy critical template file"
|
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
|
true
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
echo "done."
|
|
||||||
|
|
||||||
echo -n "Setting temporary 'root' password... "
|
echo -n "Setting temporary 'root' password... "
|
||||||
echo "root:${root_password}" | chroot ${target} chpasswd >&2
|
echo "root:${root_password}" | chroot ${target} chpasswd >&2
|
||||||
|
|
Loading…
Reference in New Issue