diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2025-03-20 21:40:43 -0400 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2025-03-20 21:40:43 -0400 |
commit | 0d9dbc763e641a3b0f4abf805ca25d389a41564b (patch) | |
tree | 9895d70e41302fb58e798da661078fed33f39cb2 /scripts | |
parent | f57c0e04db157bbd82e011c46e240c10d92734a3 (diff) | |
download | infrastructure-0d9dbc763e641a3b0f4abf805ca25d389a41564b.tar.gz |
load linux abi correctly on hypervisor
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/hostclass/freebsd_hypervisor | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/hostclass/freebsd_hypervisor b/scripts/hostclass/freebsd_hypervisor index 4e392e7..fcf46ba 100644 --- a/scripts/hostclass/freebsd_hypervisor +++ b/scripts/hostclass/freebsd_hypervisor @@ -31,14 +31,16 @@ sysrc -v kld_list+='kgssapi kgssapi_krb5' set_sysctl vfs.zfs.vol.mode=2 # Load required kernel modules. -load_kernel_module vmm nmdm linux linux64 +load_kernel_module vmm nmdm set_loader_conf \ vmm_load=YES \ nmdm_load=YES \ - linux_load=YES \ - linux64_load=YES \ kern.racct.enable=1 +# Enable Linux ABI +sysrc -v linux_enable=YES +service linux start + # Install vm/jail management dependencies. pkg install -y \ bhyve-firmware \ |