mmumshad / kubernetes-the-hard-way

Bootstrap Kubernetes the hard way on Vagrant on Local Machine. No scripts.
Apache License 2.0
4.7k stars 4.54k forks source link

cert_verify.sh in dos format #203

Closed NgSekLong closed 2 years ago

NgSekLong commented 3 years ago

For some reason my cert_verify.sh is in DOS format, so bash cert_verify.sh by default don't work.

I need to execute the following to fix this:

sudo apt-get update
sudo apt-get install -y dos2unix
dox2unix cert_verify.sh

Before executing bash cert_verify.sh

Not sure if other encountered this issue as well.

If other also encountered this issue, I can submit a PR to add this comment to the doc, or this issue might be able to fix during the vagrant deployment, cheers.

bonjovi27 commented 3 years ago

thanks a lot. I having the same issue. now it works fine image

fireflycons commented 2 years ago

Hi @NgSekLong @bonjovi27

We have now merged a major change to bring this to v1.24. Many issues, including this, have been addressed as part of the upgrade. Please try it now and feel free to raise further issues.

Thanks.