1
0
mirror of https://github.com/gryf/vmstrap.git synced 2025-12-18 20:10:28 +01:00

Don't hold the packages, comment out completions, which are not there yet.

This commit is contained in:
2021-04-09 10:03:47 +02:00
parent cbad15384f
commit 5f42bf15e5

View File

@@ -163,11 +163,11 @@ ubuntu() {
;; ;;
esac esac
# 0. hold - those doesn't matter, since we never get to the point when ## 0. hold - those doesn't matter, since we never get to the point when
# reboot is needed. ## reboot is needed.
sudo apt-mark hold linux-headers-generic linux-headers-virtual \ #sudo apt-mark hold linux-headers-generic linux-headers-virtual \
linux-image-virtual linux-virtual cryptsetup-initramfs \ # linux-image-virtual linux-virtual cryptsetup-initramfs \
busybox-initramfs cloud-init initramfs-tools # busybox-initramfs cloud-init initramfs-tools
# 1. update # 1. update
sudo apt update && sudo apt -y upgrade sudo apt update && sudo apt -y upgrade
@@ -279,8 +279,9 @@ common_conf() {
echo "alias kss='kubectl -n kube-system'" echo "alias kss='kubectl -n kube-system'"
echo "alias pods='kubectl get pods -A -o wide'" echo "alias pods='kubectl get pods -A -o wide'"
echo "alias deploys='kubectl get deployments -A -o wide'" echo "alias deploys='kubectl get deployments -A -o wide'"
echo "source ~/devstack/openrc admin admin >/dev/null 2>/dev/null" echo "# uncomment after successful deployment"
echo "source <(kubectl completion bash)" echo "#source ~/devstack/openrc admin admin >/dev/null 2>/dev/null"
echo "#source <(kubectl completion bash)"
} >> ~/.bashrc } >> ~/.bashrc
if [ ! -d ~/.vim ]; then if [ ! -d ~/.vim ]; then