CPUConfig: fix module load when pmxcfs is unavailable

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2020-03-26 09:02:05 +01:00
parent 82a3904ed4
commit 1dbe979c7c

View File

@ -16,7 +16,7 @@ get_cpu_options
# under certain race-conditions, this module might be loaded before pve-cluster
# has started completely, so ensure we don't prevent the FUSE mount with our dir
if (PVE::Cluster::check_cfs_is_mounted()) {
if (PVE::Cluster::check_cfs_is_mounted(1)) {
mkdir "/etc/pve/virtual-guest";
}