New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keys with spaces are not supported? #1248
Comments
Looks like it's been like that forever. What I found is that:
So for your example, what happens is:
Somehow |
The shell delete quotes, the tool must surround any (or, at least, arguments with spaces) with quotes by itself. |
Fixed by mirage/mirage-bootvar-unix#2. About Solo5 the execution path is different and it should work (may be @hannesm can confirm that). |
The fix by @dinosaure for mirage-bootvar-unix looks like it solves the issue reported for the unix target. For solo5 (spt & hvt), there'd be some more stuff needed:
Now, the question is what is happening on virtio / xen / muen (where we're not in control of the tender)? And is it worth it to go down this route? Apart from the simple hello world unikernel, are there actual unikernels where arguments with whitespaces are useful (and btw you can always |
No strong opinion - but it's an error that I have seen many beginners hit, and the error message is not helpful. We should at least define what is allowed in these strings and raise a proper error to explain to the user what's happening. |
@pitag-ha and I just hit this problem when building a simple send/recv TCP unikernel (we wanted to send/recv messages provided as command line arguments where |
It seems that it's not possible to pass keys with spaces anymore:
Not sure what is happening, but it's worth investigating.
The text was updated successfully, but these errors were encountered: