CorvetteZR1 | hello. i'm trying to use wget to download a binary and run it. to download it, i need to pass a header with a token to auth. it fails, i get a 400 back from the remote side. here is my config: https://dpaste.com/69YQJ59RK | 20:13 |
---|---|---|
CorvetteZR1 | seems the remote side does not like the ' ' . but if i leave it out, then i get a schema syntax error | 20:14 |
CorvetteZR1 | can someone please help with writing the wget line properly? | 20:14 |
minimal | CorvetteZR1: what ' ' ? | 21:05 |
CorvetteZR1 | around --header in the wget command | 21:13 |
minimal | there is no space around --header, there's a "'" before it and a "=" after it | 21:14 |
CorvetteZR1 | ah, that can cause a problem? interesting... | 21:28 |
CorvetteZR1 | ok, i got it working, but i took a different approach. instead of using [ , ] format, i just did it as a one liner and wrapped the whole command in ' '. it's working now :) | 21:30 |
minimal | CorvetteZR1: no, I didn't mention any problem, I was confused by your explanation of the issue | 21:30 |
CorvetteZR1 | minimal, ah, ok. issue was that i didn't know how to construct that wget command in cloud-init properly because passing the header which had a : char in it was messing things up. the ' ' around header fixed one error but caused another | 21:34 |
CorvetteZR1 | anyway, all good now. thanks for your time :) | 21:34 |
=== falcojr1 is now known as falcojr | ||
=== meena5 is now known as meena | ||
=== ryland_ is now known as ryland |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!