vmTools: reference modules closure already created

This commit is contained in:
Jared Baur 2025-08-19 04:54:10 -07:00
parent 9512947ff9
commit d9d6cc6666
No known key found for this signature in database

View File

@ -212,7 +212,7 @@ rec {
fi fi
# Set up automatic kernel module loading. # Set up automatic kernel module loading.
export MODULE_DIR=${kernel}/lib/modules/ export MODULE_DIR=${modulesClosure}/lib/modules/
${coreutils}/bin/cat <<EOF > /run/modprobe ${coreutils}/bin/cat <<EOF > /run/modprobe
#! ${bash}/bin/sh #! ${bash}/bin/sh
export MODULE_DIR=$MODULE_DIR export MODULE_DIR=$MODULE_DIR