Skip to content

Commit

Permalink
make sure dracut-network is installed
Browse files Browse the repository at this point in the history
future dracut versions will only recommend dracut-network
  • Loading branch information
Mrfai committed Dec 27, 2022
1 parent 3b614a1 commit 9e640be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/fai-make-nfsroot
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ upgrade_nfsroot() {
$ROOTCMD ln -s /bin/true /etc/kernel/postinst.d/dracut

# fai-nfsroot must be sucessfully installed before anything else
$ROOTCMD apt-get -yf --no-install-recommends install fai-nfsroot dracut-config-generic dracut-live dracut-squash
$ROOTCMD apt-get -yf --no-install-recommends install fai-nfsroot dracut-config-generic dracut-live dracut-network dracut-squash
$ROOTCMD apt-get -y dist-upgrade
# patch dracut. Do not fail if network is not available
local fn=$(find $NFSROOT/usr/lib/dracut/modules.d/ -name net-genrules.sh)
Expand Down

0 comments on commit 9e640be

Please sign in to comment.