From 5d8cc7f38b7e2933108b763642e85b4abf534f66 Mon Sep 17 00:00:00 2001 From: sandervanvugt Date: Tue, 26 Jul 2022 13:20:35 +0200 Subject: [PATCH] message --- setup-kubetools-new.sh | 68 ------------------------------------------ 1 file changed, 68 deletions(-) delete mode 100755 setup-kubetools-new.sh diff --git a/setup-kubetools-new.sh b/setup-kubetools-new.sh deleted file mode 100755 index 54c484f..0000000 --- a/setup-kubetools-new.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/bash -# kubeadm installation instructions as on -# https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/ - -# this script supports centos 7 and Ubuntu 20.04 only -# run this script with sudo - -if ! [ $USER = root ] -then - echo run this script with sudo - exit 3 -fi - -# setting MYOS variable -MYOS=$(hostnamectl | awk '/Operating/ { print $3 }') -OSVERSION=$(hostnamectl | awk '/Operating/ { print $4 }') - -##### CentOS 7 config -if [ $MYOS = "CentOS" ] -then - echo RUNNING CENTOS CONFIG - cat < /etc/sysctl.d/k8s.conf -net.bridge.bridge-nf-call-ip6tables = 1 -net.bridge.bridge-nf-call-iptables = 1 -EOF -sysctl --system