mirror of
https://github.com/hak8or/proxmox_scripts.git
synced 2025-01-15 11:57:57 +00:00
Add and use fish shell
This commit is contained in:
parent
b62cec135a
commit
32d39ee531
@ -57,11 +57,11 @@ EOM05594313219813
|
|||||||
|
|
||||||
# Update as needed.
|
# Update as needed.
|
||||||
echo "$TAGSTR Updating all packages as needed"
|
echo "$TAGSTR Updating all packages as needed"
|
||||||
pacman -Syu --noconfirm >> $LOGFILE 2>&1
|
pacman -Syu --noconfirm --noprogressbar --needed >> $LOGFILE 2>&1
|
||||||
|
|
||||||
# Do an update and install some packages.
|
# Do an update and install some packages.
|
||||||
echo "$TAGSTR Installing base-devel, git, htop, vim, rsync, go, dotnet-sdk, wget, tmux, and cowsay"
|
echo "$TAGSTR Installing base-devel, git, htop, vim, rsync, go, dotnet-sdk, wget, tmux, fish, and cowsay"
|
||||||
pacman -S base-devel git htop vim cowsay rsync go dotnet-sdk wget tmux --noconfirm --needed >> $LOGFILE 2>&1
|
pacman -S base-devel git htop vim cowsay rsync go dotnet-sdk wget fish tmux --noconfirm --noprogressbar --needed >> $LOGFILE 2>&1
|
||||||
|
|
||||||
# Change locale to EN US UTF-8
|
# Change locale to EN US UTF-8
|
||||||
echo "$TAGSTR Changing locale to EN US UTF-8"
|
echo "$TAGSTR Changing locale to EN US UTF-8"
|
||||||
@ -71,6 +71,10 @@ locale-gen >> $LOGFILE 2>&1
|
|||||||
echo LANG=en_US.UTF-8 > /etc/locale.conf >> $LOGFILE 2>&1
|
echo LANG=en_US.UTF-8 > /etc/locale.conf >> $LOGFILE 2>&1
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
|
|
||||||
|
# Change our shell to fish
|
||||||
|
echo "$TAGSTR Changing shell to fish"
|
||||||
|
chsh -s /usr/bin/fish >> $LOGFILE 2>&1
|
||||||
|
|
||||||
# Install yay. Why yay instead of pacaur? Because pacaur doesn't allow
|
# Install yay. Why yay instead of pacaur? Because pacaur doesn't allow
|
||||||
# itself to be ran as root, even though all we have is root in the container,
|
# itself to be ran as root, even though all we have is root in the container,
|
||||||
# and I don't want to bother fiddling with users just for this. Yay on the
|
# and I don't want to bother fiddling with users just for this. Yay on the
|
||||||
|
@ -174,7 +174,7 @@ VMID=$(ssh -p $PROXMOX_PORT root@$PROXMOX_IP_ADDR /usr/bin/env bash <<-'AcRP030C
|
|||||||
# https://forum.proxmox.com/threads/customize-a-lxc-template.23461/
|
# https://forum.proxmox.com/threads/customize-a-lxc-template.23461/
|
||||||
# https://forum.proxmox.com/threads/lxc-create-template-from-existing-container.24239/
|
# https://forum.proxmox.com/threads/lxc-create-template-from-existing-container.24239/
|
||||||
# For Arch linux:
|
# For Arch linux:
|
||||||
# 1. Login via pct enter isntead of ssh
|
# 1. Login via pct enter instead of ssh
|
||||||
# 2. Remove all contents of ~/.ssh folder
|
# 2. Remove all contents of ~/.ssh folder
|
||||||
# 3. Clear pacman cache with yay -Scc
|
# 3. Clear pacman cache with yay -Scc
|
||||||
# 4. Exit and shutdown the container
|
# 4. Exit and shutdown the container
|
||||||
|
Loading…
Reference in New Issue
Block a user