.
This commit is contained in:
@ -1,2 +0,0 @@
|
||||
00 08,12,16,20 * * * /root/FreeBSD/scripts/zfs_health.sh
|
||||
00 2 * * 0 /usr/local/sbin/zfSnap -d -s -S -a 2w -p weekly_ -r zroot ship data base
|
@ -33,3 +33,23 @@ target iqn.nas.ahlawat.com:f13 {
|
||||
size 128G
|
||||
}
|
||||
}
|
||||
|
||||
target iqn.nas.ahlawat.com:f12p {
|
||||
# auth-group no-authentication
|
||||
portal-group pg0
|
||||
chap user secretsecret
|
||||
lun 0 {
|
||||
path /dev/zvol/ship/raw/FreeBSD12p
|
||||
size 128G
|
||||
}
|
||||
}
|
||||
|
||||
target iqn.nas.ahlawat.com:f13p {
|
||||
# auth-group no-authentication
|
||||
portal-group pg0
|
||||
chap user secretsecret
|
||||
lun 0 {
|
||||
path /dev/zvol/ship/raw/FreeBSD13p
|
||||
size 128G
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
# references must include a dollar sign '$' in front of the
|
||||
# name to be expanded properly.
|
||||
#
|
||||
# $FreeBSD: releng/12.1/sbin/devfs/devfs.rules 338204 2018-08-22 15:55:23Z brd $
|
||||
# $FreeBSD: releng/12.2/sbin/devfs/devfs.rules 338204 2018-08-22 15:55:23Z brd $
|
||||
#
|
||||
|
||||
# Very basic and secure ruleset: Hide everything.
|
||||
@ -87,12 +87,13 @@ add include $devfsrules_unhide_login
|
||||
add path fuse unhide
|
||||
add path zfs unhide
|
||||
|
||||
# members of group uucp can access all usb and tty devices
|
||||
[usbrules=100]
|
||||
add path 'usbctl' mode 660 group uucp
|
||||
add path 'usb/*' mode 660 group uucp
|
||||
add path 'ttyU*' mode 660 group uucp
|
||||
|
||||
[serial_usb_rules=1000]
|
||||
[serial_usb_rules=150]
|
||||
add include $devfsrules_jail
|
||||
add path 'cuau*' unhide
|
||||
add path 'cuaU*' unhide
|
||||
@ -101,7 +102,7 @@ add path 'ttyU*' unhide
|
||||
add path 'usb*' unhide
|
||||
add path 'usb/*' unhide
|
||||
|
||||
[devfs_rules_bhyve_jail=2000]
|
||||
[devfs_rules_bhyve_jail=200]
|
||||
add include $devfsrules_jail
|
||||
add path vmm unhide
|
||||
add path vmm/* unhide
|
||||
@ -111,6 +112,6 @@ add path tap* unhide
|
||||
add path zvol/ship/raw/* unhide
|
||||
add path nmdm* unhide
|
||||
|
||||
[devfs_rules_tun_jail=3000]
|
||||
[devfs_rules_tun_jail=300]
|
||||
add include $devfsrules_jail
|
||||
add path tun* unhide
|
||||
|
@ -13,7 +13,7 @@
|
||||
# For a more detailed explanation of all the periodic.conf variables, please
|
||||
# refer to the periodic.conf(5) manual page.
|
||||
#
|
||||
# $FreeBSD: releng/12.1/usr.sbin/periodic/periodic.conf 337648 2018-08-11 17:11:08Z brd $
|
||||
# $FreeBSD: releng/12.2/usr.sbin/periodic/periodic.conf 337648 2018-08-11 17:11:08Z brd $
|
||||
#
|
||||
|
||||
# What files override these defaults ?
|
||||
|
@ -1,3 +1,6 @@
|
||||
V4: / -network=192.168.10.0 -mask=255.255.255.0
|
||||
/mnt/ship/pxe/FreeBSD11 -alldirs -maproot=root
|
||||
/mnt/ship/pxe/FreeBSD12 -alldirs -maproot=root
|
||||
/mnt/ship/pxe/FreeBSD13 -alldirs -maproot=root
|
||||
/mnt/ship/pxe/FreeBSD12p -alldirs -maproot=root
|
||||
/mnt/ship/pxe/FreeBSD13p -alldirs -maproot=root
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $FreeBSD: releng/12.1/usr.sbin/freebsd-update/freebsd-update.conf 337338 2018-08-04 22:25:41Z brd $
|
||||
# $FreeBSD: releng/12.2/usr.sbin/freebsd-update/freebsd-update.conf 337338 2018-08-04 22:25:41Z brd $
|
||||
|
||||
# Trusted keyprint. Changing this is a Bad Idea unless you've received
|
||||
# a PGP-signed email from <security-officer@FreeBSD.org> telling you to
|
||||
|
@ -1,11 +1,12 @@
|
||||
# Device Mountpoint FStype Options Dump Pass#
|
||||
/dev/ada2p3 none swap sw 0 0
|
||||
/dev/ada3p3 none swap sw 0 0
|
||||
#/dev/zvol/zroot/swapvol none swap sw 0 0
|
||||
#/dev/ada2p3 none swap sw 0 0
|
||||
#/dev/ada3p3 none swap sw 0 0
|
||||
#/dev/da0p1 none swap sw 0 0
|
||||
/dev/da1p1 none swap sw 0 0
|
||||
/dev/da2p1 none swap sw 0 0
|
||||
/dev/da3p1 none swap sw 0 0
|
||||
/dev/da4p1 none swap sw 0 0
|
||||
#/dev/da1p1 none swap sw 0 0
|
||||
#/dev/da2p1 none swap sw 0 0
|
||||
#/dev/da3p1 none swap sw 0 0
|
||||
#/dev/da4p1 none swap sw 0 0
|
||||
#/dev/da5p1 none swap sw 0 0
|
||||
#/dev/da6p1 none swap sw 0 0
|
||||
#/dev/da7p1 none swap sw 0 0
|
||||
|
@ -7,7 +7,7 @@
|
||||
# This file controls resource limits, accounting limits and
|
||||
# default user environment settings.
|
||||
#
|
||||
# $FreeBSD: releng/12.1/usr.bin/login/login.conf 338399 2018-08-30 15:52:03Z brd $
|
||||
# $FreeBSD: releng/12.2/usr.bin/login/login.conf 357789 2020-02-12 02:04:03Z kevans $
|
||||
#
|
||||
|
||||
# Default settings effectively disable resource limits, see the
|
||||
@ -26,7 +26,8 @@ default:\
|
||||
:passwd_format=sha512:\
|
||||
:copyright=/etc/COPYRIGHT:\
|
||||
:welcome=/etc/motd:\
|
||||
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
|
||||
:setenv=BLOCKSIZE=K:\
|
||||
:mail=/var/mail/$:\
|
||||
:path=/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin ~/bin:\
|
||||
:nologin=/var/run/nologin:\
|
||||
:cputime=unlimited:\
|
||||
@ -63,6 +64,7 @@ xuser:\
|
||||
staff:\
|
||||
:tc=default:
|
||||
daemon:\
|
||||
:mail@:\
|
||||
:memorylocked=128M:\
|
||||
:tc=default:
|
||||
news:\
|
||||
@ -123,7 +125,8 @@ russian|Russian Users Accounts:\
|
||||
#standard:\
|
||||
# :copyright=/etc/COPYRIGHT:\
|
||||
# :welcome=/etc/motd:\
|
||||
# :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
|
||||
# :setenv=BLOCKSIZE=K:\
|
||||
# :mail=/var/mail/$:\
|
||||
# :path=~/bin /bin /usr/bin /usr/local/bin:\
|
||||
# :manpath=/usr/share/man /usr/local/man:\
|
||||
# :nologin=/var/run/nologin:\
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# $FreeBSD: releng/12.1/usr.sbin/ntp/ntpd/ntp.conf 337649 2018-08-11 17:42:42Z brd $
|
||||
# $FreeBSD: releng/12.2/usr.sbin/ntp/ntpd/ntp.conf 352865 2019-09-29 03:36:50Z cy $
|
||||
#
|
||||
# Default NTP servers for the FreeBSD operating system.
|
||||
#
|
||||
@ -103,3 +103,11 @@ restrict ::1
|
||||
# Use either leapfile in /etc/ntp or periodically updated leapfile in /var/db.
|
||||
#leapfile "/etc/ntp/leap-seconds"
|
||||
leapfile "/var/db/ntpd.leap-seconds.list"
|
||||
|
||||
# Specify the number of megabytes of memory that should be allocated and
|
||||
# locked. -1 (default) means "do not lock the process into memory".
|
||||
# 0 means "lock whatever memory the process wants into memory". Any other
|
||||
# number means to lock up to that number of megabytes into memory.
|
||||
# 0 may result in a segfault when ASLR with stack gap randomization
|
||||
# is enabled.
|
||||
#rlimit memlock 32
|
||||
|
@ -1,11 +1,7 @@
|
||||
# $FreeBSD: releng/12.1/bin/sh/profile 337849 2018-08-15 14:41:24Z brd $
|
||||
# $FreeBSD: releng/12.2/bin/sh/profile 363525 2020-07-25 11:57:39Z pstef $
|
||||
#
|
||||
# System-wide .profile file for sh(1).
|
||||
#
|
||||
# Uncomment this to give you the default 4.2 behavior, where disk
|
||||
# information is shown in K-Blocks
|
||||
# BLOCKSIZE=K; export BLOCKSIZE
|
||||
#
|
||||
# For the setting of languages and character sets please see
|
||||
# login.conf(5) and in particular the charset and lang options.
|
||||
# For full locales list check /usr/share/locale/*
|
||||
|
@ -32,13 +32,13 @@ firewall_logif="YES"
|
||||
|
||||
# interfaces
|
||||
cloned_interfaces_sticky="YES"
|
||||
cloned_interfaces="lagg0 bridge1 bridge2 bridge5 bridge9 bridge10"
|
||||
cloned_interfaces="lagg0 bridge1 bridge2 bridge5 bridge9 bridge10 bridge48"
|
||||
|
||||
ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 up"
|
||||
ifconfig_igb0="up -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso -vlanhwtso"
|
||||
ifconfig_igb1="up -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso -vlanhwtso"
|
||||
|
||||
vlans_lagg0="1 2 5 9 10"
|
||||
vlans_lagg0="1 2 5 9 10 48"
|
||||
|
||||
ipv6_activate_all_interfaces="YES"
|
||||
rtsold_enable="YES"
|
||||
@ -53,12 +53,15 @@ ifconfig_lagg0_9="inet 192.168.200.10/24"
|
||||
ifconfig_lagg0_9_ipv6="inet6 fd09::10/64 auto_linklocal accept_rtadv"
|
||||
ifconfig_lagg0_10="inet 192.168.10.10/24"
|
||||
ifconfig_lagg0_10_ipv6="inet6 fd0a::10/64 auto_linklocal accept_rtadv"
|
||||
ifconfig_lagg0_48="inet 192.168.48.10/24"
|
||||
ifconfig_lagg0_48_ipv6="inet6 2001:470:f835::10/64 auto_linklocal accept_rtadv"
|
||||
|
||||
ifconfig_bridge1="addm lagg0.1 up"
|
||||
ifconfig_bridge2="addm lagg0.2 up"
|
||||
ifconfig_bridge5="addm lagg0.5 up"
|
||||
ifconfig_bridge9="addm lagg0.9 up"
|
||||
ifconfig_bridge10="addm lagg0.10 up"
|
||||
ifconfig_bridge48="addm lagg0.48 up"
|
||||
|
||||
# adding IP to bridges does not work
|
||||
#ifconfig_bridge1="inet 192.168.0.10/24"
|
||||
|
Reference in New Issue
Block a user