vmTools: reference modules closure already created (#434968)

This commit is contained in:
Will Fancher 2025-08-19 12:08:13 +00:00 committed by GitHub
commit 6d43799077
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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