updates Jun 11

This commit is contained in:
Sharad Ahlawat
2020-06-11 12:03:50 -07:00
parent c53b6616f8
commit bd3cffc61a
11 changed files with 137 additions and 0 deletions

View File

@ -0,0 +1,2 @@
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

3
configs/pxe/fstab.12p Normal file
View File

@ -0,0 +1,3 @@
# Device Mountpoint FStype Options Dump Pass#
192.168.0.10:/mnt/ship/pxe/FreeBSD12p / nfs rw 0 0
fdescfs /dev/fd fdescfs rw 0 0

3
configs/pxe/fstab.13p Normal file
View File

@ -0,0 +1,3 @@
# Device Mountpoint FStype Options Dump Pass#
192.168.0.10:/mnt/ship/pxe/FreeBSD13p / nfs rw 0 0
fdescfs /dev/fd fdescfs rw 0 0

View File

@ -0,0 +1,7 @@
t0 {
TargetAddress = 192.168.0.10
TargetName = iqn.nas.ahlawat.com:f11
AuthMethod = CHAP
chapIName = user
chapSecret = secretsecret
}

View File

@ -0,0 +1,7 @@
t0 {
TargetAddress = 192.168.0.10
TargetName = iqn.nas.ahlawat.com:f12
AuthMethod = CHAP
chapIName = user
chapSecret = secretsecret
}

View File

@ -0,0 +1,7 @@
t0 {
TargetAddress = 192.168.0.10
TargetName = iqn.nas.ahlawat.com:f12p
AuthMethod = CHAP
chapIName = user
chapSecret = secretsecret
}

View File

@ -0,0 +1,7 @@
t0 {
TargetAddress = 192.168.0.10
TargetName = iqn.nas.ahlawat.com:f13p
AuthMethod = CHAP
chapIName = user
chapSecret = secretsecret
}

21
configs/pxe/iscsid Executable file
View File

@ -0,0 +1,21 @@
#!/bin/sh
#
# $FreeBSD: releng/12.1/libexec/rc/rc.d/iscsid 298514 2016-04-23 16:10:54Z lme $
#
# PROVIDE: iscsid
# REQUIRE: NETWORK lockd
# BEFORE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
name="iscsid"
desc="iSCSI initiator daemon"
rcvar="iscsid_enable"
pidfile="/var/run/${name}.pid"
command="/usr/sbin/${name}"
required_modules="iscsi"
load_rc_config $name
run_rc_command "$1"

1
configs/pxe/loader.conf Normal file
View File

@ -0,0 +1 @@
if_bnxt_load="YES"

13
configs/pxe/sysctl.conf Normal file
View File

@ -0,0 +1,13 @@
# $FreeBSD: head/sbin/sysctl/sysctl.conf 337624 2018-08-11 13:28:03Z brd $
#
# This file is read when going to multi-user and its contents piped thru
# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
#
# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0
net.link.bridge.pfil_bridge=0
net.link.bridge.pfil_member=0
net.link.bridge.pfil_onlyip=0