Update nasbeery2
This commit is contained in:
parent
d16aa0993d
commit
793fb307dc
@ -9,7 +9,6 @@ usage() {
|
|||||||
-P PASSWORD Password for SSH, Cockpit and SMB Login (min. 8 chars, default: password prompt)
|
-P PASSWORD Password for SSH, Cockpit and SMB Login (min. 8 chars, default: password prompt)
|
||||||
-H HOSTNAME Hostname of this nasbeery (default: nasbeery)
|
-H HOSTNAME Hostname of this nasbeery (default: nasbeery)
|
||||||
-D DOMAIN Domain name of this nasbeery (default: bashclub.lan)
|
-D DOMAIN Domain name of this nasbeery (default: bashclub.lan)
|
||||||
-Z POOL Name of the zpool to create (default: tank)
|
|
||||||
-S SHARE Name of the SMB share to create (default: share)
|
-S SHARE Name of the SMB share to create (default: share)
|
||||||
-A ADDONS Comma separated list of addons to install (ispconfig, docker)
|
-A ADDONS Comma separated list of addons to install (ispconfig, docker)
|
||||||
-F Enforce formatting disks - WARNING: Destroys all existing data
|
-F Enforce formatting disks - WARNING: Destroys all existing data
|
||||||
@ -37,7 +36,6 @@ while getopts "hU:P:H:D:FIZ:S:" opt; do
|
|||||||
D) DOMAIN=$OPTARG ;;
|
D) DOMAIN=$OPTARG ;;
|
||||||
F) FORMAT=1 ;;
|
F) FORMAT=1 ;;
|
||||||
A) ADDONS=$OPTARG ;;
|
A) ADDONS=$OPTARG ;;
|
||||||
Z) ZPOOL=$OPTARG ;;
|
|
||||||
S) SHARE=$OPTARG ;;
|
S) SHARE=$OPTARG ;;
|
||||||
*) usage 1 ;;
|
*) usage 1 ;;
|
||||||
esac
|
esac
|
||||||
@ -53,7 +51,6 @@ HOSTNAME=$HOSTNAME
|
|||||||
DOMAIN=$DOMAIN
|
DOMAIN=$DOMAIN
|
||||||
FORMAT=$FORMAT
|
FORMAT=$FORMAT
|
||||||
ADDONS=$ADDONS
|
ADDONS=$ADDONS
|
||||||
ZPOOL=$ZPOOL
|
|
||||||
SHARE=$SHARE
|
SHARE=$SHARE
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
@ -78,7 +75,7 @@ fi
|
|||||||
|
|
||||||
# add extra apt keys
|
# add extra apt keys
|
||||||
echo "Add wsdd apt repo key"
|
echo "Add wsdd apt repo key"
|
||||||
sudo apt-key adv --fetch-keys https://pkg.ltec.ch/public/conf/ltec-ag.gpg.key > /dev/null 2&>1
|
sudo apt-key adv --fetch-keys https://pkg.ltec.ch/public/conf/ltec-ag.gpg.key
|
||||||
|
|
||||||
# add extra apt repos
|
# add extra apt repos
|
||||||
echo "Add wsdd apt repo url"
|
echo "Add wsdd apt repo url"
|
||||||
|
Loading…
Reference in New Issue
Block a user