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