dracut/modules.d/95virtfs/parse-virtfs.sh

9 lines
124 B
Bash
Executable File

#!/bin/sh
if [ "${root%%:*}" = "virtfs" ]; then
modprobe 9pnet_virtio
# shellcheck disable=SC2034
rootok=1
fi