Commit 8b00e3fb authored by Piotr Szlenk's avatar Piotr Szlenk

minor tweaks

parent 01e33db8
.vagrant
cumulus-ip-fabric/VENV
kubeadm.txt
......@@ -11,7 +11,7 @@ yum-config-manager \
https://download.docker.com/linux/centos/docker-ce.repo
## Install Docker CE.
yum update && yum install -y docker-ce-18.06.2.ce
yum install -y docker-ce-18.06.2.ce
## Create /etc/docker directory.
mkdir /etc/docker
......@@ -35,4 +35,5 @@ mkdir -p /etc/systemd/system/docker.service.d
# Restart Docker
systemctl daemon-reload
systemctl restart docker
\ No newline at end of file
systemctl enable docker.service
systemctl restart docker
#!/bin/sh
nmcli con modify "System eth0" ipv4.address "10.255.1.101/24"
nmcli con modify "System eth0" ipv4.routes "10.0.0.0/8 10.255.1.1"
nmcli con modify "System eth0" ipv4.method manual
nmcli con down "System eth0"
nmcli con up "System eth0"
\ No newline at end of file
#!/bin/sh
nmcli con modify "System eth0" ipv4.address "10.255.2.101/24"
nmcli con modify "System eth0" ipv4.routes "10.0.0.0/8 10.255.2.1"
nmcli con modify "System eth0" ipv4.method manual
nmcli con down "System eth0"
nmcli con up "System eth0"
\ No newline at end of file
#!/bin/sh
swapoff -a
cat <<EOF > /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment