From 50bf7f49750c2f798c325bf55d75640c962e5807 Mon Sep 17 00:00:00 2001 From: sandervanvugt Date: Fri, 9 Jun 2023 13:30:06 +0200 Subject: [PATCH] cleanup --- setup-kubetools-new-PRERELEASE.sh | 68 ------------------------------- 1 file changed, 68 deletions(-) delete mode 100755 setup-kubetools-new-PRERELEASE.sh diff --git a/setup-kubetools-new-PRERELEASE.sh b/setup-kubetools-new-PRERELEASE.sh deleted file mode 100755 index 54c484f..0000000 --- a/setup-kubetools-new-PRERELEASE.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