Skip to content

Commit

Permalink
omit livenet instead of dmsquash-live
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Nov 19, 2015
1 parent 634f0f9 commit 5263697
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/fai-cd
Expand Up @@ -122,7 +122,7 @@ create_autodiscover_iso() {

# boot-only CD does not need those dracut modules
cat <<EOF > $ONFSROOT/etc/dracut.conf.d/02-omit.conf
omit_dracutmodules+=" fs-lib dmsquash-live rootfs-block "
omit_dracutmodules+=" fs-lib livenet rootfs-block "
EOF

if [ -n "$sqopt" ]; then
Expand All @@ -134,8 +134,7 @@ EOF
hide_dirs
chroot $ONFSROOT dracut --add 'fai-autodiscover' "$compress" /boot/initrd.img-$rel $rel 2>/dev/null
unhide_dirs
rm $ONFSROOT/etc/dracut.conf.d/02-omit.conf

rm -f $ONFSROOT/etc/dracut.conf.d/02-omit.conf

fai-cd $arguments -g $grub_config $isoname
mv $ONFSROOT/tmp/initrd.img* $ONFSROOT/boot
Expand Down

0 comments on commit 5263697

Please sign in to comment.