This commit is contained in:
Charlie Root 2021-04-18 01:24:17 -07:00
parent 3d64b9b33b
commit c888a24d70
4 changed files with 13 additions and 7 deletions

4
freebsd_vm/fstab Normal file
View File

@ -0,0 +1,4 @@
# Device Mountpoint FStype Options Dump Pass#
/dev/vtbd1p3 none swap sw 0 0
/dev/vtbd2p3 none swap sw 0 0
fdescfs /dev/fd fdescfs rw 0 0

View File

@ -1,4 +1,6 @@
boot_serial="NO" kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
opensolaris_load="YES"
zfs_load="YES"
if_tap_load="YES" if_tap_load="YES"

View File

@ -1,13 +1,14 @@
hostname="freebsd.ahlawat.com" hostname="freebsd"
#ifconfig_vtnet0="DHCP" #ifconfig_vtnet0="DHCP"
#ifconfig_vtnet0_ipv6="inet6 accept_rtadv" #ifconfig_vtnet0_ipv6="inet6 accept_rtadv"
sshd_enable="YES" sshd_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO" dumpdev="AUTO"
zfs_enable="YES" zfs_enable="YES"
kld_list="nmdm vmm ipfw ipdivert linux64" kld_list="nmdm vmm ipfw ipdivert linux64"
# Do not mark to autodetach otherwise ZFS gets very unhappy. # Do not mark to autodetach otherwise ZFS gets very unhappy.
@ -21,9 +22,7 @@ savecore_enable="YES"
performance_cpu_freq="HIGH" performance_cpu_freq="HIGH"
ntpd_sync_on_start="YES" ntpd_sync_on_start="YES"
ntpd_enable="YES"
powerd_enable="YES"
powerd_flags="-a hiadaptive -n hiadaptive -m 2500 -M 3300" powerd_flags="-a hiadaptive -n hiadaptive -m 2500 -M 3300"
smartd_enable="YES" smartd_enable="YES"

View File

@ -7,6 +7,7 @@
# Uncomment this to prevent users from seeing information about processes that # Uncomment this to prevent users from seeing information about processes that
# are being run under another UID. # are being run under another UID.
#security.bsd.see_other_uids=0 #security.bsd.see_other_uids=0
vfs.zfs.min_auto_ashift=12
net.inet.ip.forwarding=1 # Enable IP forwarding between interfaces net.inet.ip.forwarding=1 # Enable IP forwarding between interfaces
net.link.bridge.pfil_onlyip=0 # Only pass IP packets when pfil is enabled net.link.bridge.pfil_onlyip=0 # Only pass IP packets when pfil is enabled