Comments (2)
The fix was not really obvious...I had to: 0
- remove the entire project
- clone it again
- change the
hosts.yaml
file to get a good ip addresses- (note that they are 2 ip addresses to change (the first in the
ip_range
, the second is theip
param form thelb
part. Be sure they are the sames) - Remembre to change the ip addresse in the docker command to!
- (note that they are 2 ip addresses to change (the first in the
and.....that's it! vagrant up
worked
EDIT : Just to be sure, I tried this solution before (i.e - change the
hosts.yamlfile to get a good ip addresses
) without removing the project before and it didn't worked...Don't know why because it recreate the project anyway.
from vagrant-k3s-ha-cluster.
This is most likely a compatibility issue between standard Shellscript and the sh runner you are using.
The provision.sh
script runs on your local host machine and the error is happening during the parsing of the arguments passed to the script.
Can you try some alternations of this chunk of code in provision.sh
while [ $# -gt 0 ]; do
if [[ $1 == *"--"* ]]; then
v="${1/--/}"
declare $v="$2"
fi
shift
done
For example, try alternating different [[ ]]
combinations.
You can also look up how to parse arguments for you specific OS in shell script, it should be standard for all unix distros, but I can't be sure as I only tested on macOS Catalina 10.15.7.
Please post your solution if you are able to resolve the issue.
from vagrant-k3s-ha-cluster.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vagrant-k3s-ha-cluster.