Open william-kerr opened 7 years ago
quotes have been a nightmare for @joshwget - I don't think we'll have time to work on this until 0.9
This is basically what #1439 aims to solve. I haven't had a chance to fully evaluate that method yet, but I would like to either use this or so something similar.
Thanks for the quick updates! Please take your time and delay this as long as you'd like, and then some. I just wanted to put it out there for you to throw on the back burner.
I'm really confused by this.
I would not expect key="[url:http://MY_URL:8081/cloud-config.yml]"
to be resolved into an array of strings - as its very clearly only a string - and so IMO should error
key=["url:http://MY_URL:8081/cloud-config.yml"]
is an array of strings, and so should work and iirc, it does.
I think pixiecore was wrapping all key value pairs like key="value". I was trying to avoid having to get pixiecore modified to do something fancy like key=["..."]. That's how this came about. I ended up using a workaround, so I don't personally need this any longer.
RancherOS Version: v0.8.0-rc5
Where are you running RancherOS? baremetal
I am trying to use danderson/pixiecore to PXE boot RancherOS with an API.
This works:
This doesn't:
Double quotes like these:
Cause RancherOS to throw an error like this:
If my API server returns this response to pixiecore, pixiecore is going to wrap cmdline argument values in quotes:
I have an idea how to work around that limitation, but it would be nice if RancherOS would allow for
name="value"
orname="[value]"
.