Fixed zsh and netbird.

Reenable zsh setup and fix url and login.
Pinned Netbird version and updated installation method.
This commit is contained in:
colin 2023-05-10 18:35:24 +00:00
parent 506d74a2f0
commit b3783fb851
1 changed files with 10 additions and 6 deletions

View File

@ -77,10 +77,14 @@ echo Installing Apt Packages
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::='--force-confold' --force-yes -fuy dist-upgrade
DEBIAN_FRONTEND=noninteractive apt-get install -y asciinema ca-certificates gnupg docker-ctop git glances htop iftop zsh
echo y | curl -sSL https://pkgs.wiretrustee.com/debian/public.key | sudo gpg --dearmor --output /usr/share/keyrings/wiretrustee-archive-keyring.gpg
echo 'deb [signed-by=/usr/share/keyrings/wiretrustee-archive-keyring.gpg] https://pkgs.wiretrustee.com/debian stable main' | sudo tee /etc/apt/sources.list.d/wiretrustee.list
# echo y | curl -sSL https://pkgs.wiretrustee.com/debian/public.key | sudo gpg --dearmor --output /usr/share/keyrings/wiretrustee-archive-keyring.gpg
# echo 'deb [signed-by=/usr/share/keyrings/wiretrustee-archive-keyring.gpg] https://pkgs.wiretrustee.com/debian stable main' | sudo tee /etc/apt/sources.list.d/wiretrustee.list
# apt-get update
# DEBIAN_FRONTEND=noninteractive apt-get install -y netbird
rm -Rf /usr/share/keyrings/wiretrustee-archive-keyring.gpg
curl -fsSL https://pkgs.netbird.io/install.sh | sh
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y netbird
DEBIAN_FRONTEND=noninteractive apt-get install netbird=0.10.10 && apt-mark hold netbird
## Install Gluster Post
echo Gluster Post Function
@ -122,6 +126,6 @@ chmod +x /usr/local/bin/ctop
## This may no longer be required going forward, it'll be better to call it on first login instead with args.
## Force install ohmyzsh on first login
# curl -o /root/zsh-setup.sh https://bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin_/do-userdata/raw/branch/main/scripts/zsh-setup.sh
# echo zsh-setup >> ~/.profile
# source ~/.profile
curl -o /root/zsh-setup.sh https://bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin/bootstrap-scripts/raw/branch/main/scripts/zsh-setup.sh
echo zsh-setup >> ~/.profile
source ~/.profile