Update config from a copy of the default example to one specific to local partition scheme.
This commit is contained in:
parent
ac4da8c7f3
commit
5019dfbd55
|
|
@ -1,4 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
echo "Available in debian, install with 020_sanoid.sh"
|
||||||
|
exit 1
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
apt install -y libconfig-inifiles-perl git
|
apt install -y libconfig-inifiles-perl git
|
||||||
|
|
||||||
cd /opt
|
cd /opt
|
||||||
|
|
@ -137,7 +143,7 @@ cp /opt/sanoid/sanoid.defaults.conf /etc/sanoid/sanoid.defaults.conf
|
||||||
# autosnap = yes
|
# autosnap = yes
|
||||||
# autoprune = yes
|
# autoprune = yes
|
||||||
|
|
||||||
cat > /etc/sanoid/sanoid.conf << 'EOF'
|
cat >/etc/sanoid/sanoid.conf <<'EOF'
|
||||||
######################################
|
######################################
|
||||||
# This is a sample sanoid.conf file. #
|
# This is a sample sanoid.conf file. #
|
||||||
# It should go in /etc/sanoid. #
|
# It should go in /etc/sanoid. #
|
||||||
|
|
@ -207,5 +213,3 @@ cat > /etc/sanoid/sanoid.conf << 'EOF'
|
||||||
daily_warn = 48
|
daily_warn = 48
|
||||||
daily_crit = 60
|
daily_crit = 60
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue