Skip to content
This repository was archived by the owner on Dec 3, 2021. It is now read-only.

Commit 8e65a45

Browse files
committed
Merge branch 'master' of github.com:nre-learning/antidote-selfmedicate
2 parents 2f8eae3 + 0230632 commit 8e65a45

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Vagrantfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ Vagrant.configure("2") do |config|
7575
v.memory = antidote_config['vm_config']['memory']
7676
v.cpus = antidote_config['vm_config']['cores']
7777
v.nested = true
78-
override.vm.box = "generic/ubuntu1604"
78+
override.vm.box = "generic/ubuntu1804"
7979
end
8080

8181

8282
# Base Ubuntu Box
83-
config.vm.box = "bento/ubuntu-16.04"
83+
config.vm.box = "bento/ubuntu-18.04"
8484

8585
config.vm.hostname = "antidote-#{antidote_config['version'].to_s.tr('.', '')}"
8686

selfmedicate.sh

+5
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,17 @@ sub_start(){
117117
sudo cp manifests/multus-cni.conf /etc/cni/net.d/1-multus.conf
118118
echo "Creating minikube cluster. This can take a few minutes, please be patient..."
119119
$MINIKUBE config set WantReportErrorPrompt false
120+
# Avoid CoreDNS loop caused by systemd's local DNS cache
121+
if [ "$VMDRIVER" = "none" ]; then
122+
EXTRA_PARAMS="--extra-config=kubelet.resolv-conf=/run/systemd/resolve/resolv.conf"
123+
fi
120124
$MINIKUBE start \
121125
--cpus $CPUS \
122126
--memory $MEMORY \
123127
--vm-driver $VMDRIVER \
124128
--network-plugin=cni \
125129
--extra-config=kubelet.network-plugin=cni \
130+
$EXTRA_PARAMS \
126131
--kubernetes-version=$K8SVERSION # Needs to reflect the targeted version the platform was built against.
127132

128133
echo -e "\nThe minikube cluster ${WHITE}is now online${NC}. Now, we need to add some additional infrastructure components.\n"

0 commit comments

Comments
 (0)