setup-nasbeery aktualisiert
This commit is contained in:
+11
-1
@@ -76,11 +76,17 @@ FORMAT=$?
|
|||||||
#Pin-Priority: 900
|
#Pin-Priority: 900
|
||||||
#EOF
|
#EOF
|
||||||
|
|
||||||
|
echo "=== Enable time sync ==="
|
||||||
|
timedatectl set-ntp true
|
||||||
|
|
||||||
|
|
||||||
echo "Ensure contrib repo is enabled (required for ZFS)"
|
echo "Ensure contrib repo is enabled (required for ZFS)"
|
||||||
sed -i 's/ main$/ main contrib non-free-firmware/' /etc/apt/sources.list
|
sed -i 's/ main$/ main contrib non-free-firmware/' /etc/apt/sources.list
|
||||||
sed -i 's/ main non-free-firmware$/ main contrib non-free-firmware/' /etc/apt/sources.list
|
sed -i 's/ main non-free-firmware$/ main contrib non-free-firmware/' /etc/apt/sources.list
|
||||||
apt update
|
apt update
|
||||||
|
|
||||||
|
echo "=== Install Cockpit (Debian) ==="
|
||||||
|
apt install -y cockpit
|
||||||
|
|
||||||
#echo "Add debian bullseye backports repo"
|
#echo "Add debian bullseye backports repo"
|
||||||
#echo "deb http://ftp.de.debian.org/debian/ bullseye-backports main contrib non-free" | tee -i /etc/apt/sources.list.d/bulleye-backports.list
|
#echo "deb http://ftp.de.debian.org/debian/ bullseye-backports main contrib non-free" | tee -i /etc/apt/sources.list.d/bulleye-backports.list
|
||||||
@@ -136,8 +142,12 @@ DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq -o DPkg::opti
|
|||||||
git clone https://github.com/45drives/cockpit-zfs-manager.git
|
git clone https://github.com/45drives/cockpit-zfs-manager.git
|
||||||
cp -r cockpit-zfs-manager/zfs /usr/share/cockpit
|
cp -r cockpit-zfs-manager/zfs /usr/share/cockpit
|
||||||
|
|
||||||
|
|
||||||
|
echo "=== Install ZFS (Debian) ==="
|
||||||
|
apt install -y zfs-dkms zfsutils-linux zfs-auto-snapshot
|
||||||
|
|
||||||
echo "Activate zfs module"
|
echo "Activate zfs module"
|
||||||
modprobe zfs
|
/sbin/modprobe zfs
|
||||||
|
|
||||||
echo "Update time via ntp"
|
echo "Update time via ntp"
|
||||||
ntpdate-debian -b > /dev/null
|
ntpdate-debian -b > /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user