diff --git a/alpine1-first-run.sh b/alpine1-first-run.sh index 988eb96..1522571 100644 --- a/alpine1-first-run.sh +++ b/alpine1-first-run.sh @@ -30,6 +30,8 @@ apk add ansible echo " download Ubuntu ISO" # download Ubuntu ISO +mkdir -p /srv/tftp/iso + [ ! -f /srv/tftp/iso/ubuntu-20.04.6-live-server-amd64.iso ] && wget -P /srv/tftp/iso https://releases.ubuntu.com/20.04.6/ubuntu-20.04.6-live-server-amd64.iso echo " script completed" \ No newline at end of file diff --git a/k3s-lab-setup/100-alpine1/102-Clone-repository.md b/k3s-lab-setup/100-alpine1/102-Clone-repository.md index 564ef4b..64ed873 100644 --- a/k3s-lab-setup/100-alpine1/102-Clone-repository.md +++ b/k3s-lab-setup/100-alpine1/102-Clone-repository.md @@ -21,7 +21,7 @@ git clone https://github.com/belajarpowershell/kubernetes-lab.git # change folder cd kubernetes-lab -# move the `srv` from git folder "kubernetes-lab/" to "/srv" +# copy the `srv` from git folder "kubernetes-lab/" to "/srv" # change the script to executable chmod +x alpine1-first-run.sh @@ -29,7 +29,7 @@ chmod +x alpine1-first-run.sh #run the script ./alpine1-first-run.sh -# files `kubernetes-lab/srv` folder is now moved to /srv +# files `kubernetes-lab/srv` folder is now copied to /srv # this is important as the files required for the setup must be located at `/srv/` ```