diff --git a/dracut/90zfs/module-setup.sh.in b/dracut/90zfs/module-setup.sh.in index b7a6f1d454..81401f2b5d 100755 --- a/dracut/90zfs/module-setup.sh.in +++ b/dracut/90zfs/module-setup.sh.in @@ -37,6 +37,8 @@ install() { dracut_install @udevdir@/zvol_id dracut_install mount.zfs dracut_install hostid + dracut_install awk + dracut_install head inst_hook cmdline 95 "$moddir/parse-zfs.sh" inst_hook mount 98 "$moddir/mount-zfs.sh" inst_hook shutdown 30 "$moddir/export-zfs.sh" @@ -45,6 +47,10 @@ install() { inst @sysconfdir@/zfs/zpool.cache fi + if [ -e @sysconfdir@/zfs/vdev_id.conf ]; then + inst @sysconfdir@/zfs/vdev_id.conf + fi + # Synchronize initramfs and system hostid AA=`hostid | cut -b 1,2` BB=`hostid | cut -b 3,4`