-
Notifications
You must be signed in to change notification settings - Fork 725
Closed
Labels
bugBroken end user or developer functionality; not working as the developers intended itBroken end user or developer functionality; not working as the developers intended it
Description
$ weave launch
476e00691ca1a5d9423f03377f0b18527478aff716e1ff867c70cec6724a8c17
$ weave launch-dns 10.2.0.1/24
e572552f539cd417d10e7c656b4854d65a752921498b27a733e83c65bcdff81a
$ ./scope launch
basename: missing operand
Try 'basename --help' for more information.
73f80066456faeb694ff119fa1de4dd3604f7b731d3fd8bb65a05e0a46cb96a1
This is with version 2e8df4a, built according to the instructions.
tracing the exeuction with sh -x produces
...
+ dns_running
+ docker inspect --format={{.State.Running}} weavedns
+ status=true
+ [ true = true ]
+ return 0
+ + xargs -n1 basename
find /sys/class/net -name eth*
+ grep inet
+ + xargsgrep echo
-oE [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}
+ + awkxargs { print $2 } -n1 ip
addrbasename: missing operand
Try 'basename --help' for more information.
show
...
Looking at this and the code, I think the issue is that the script doesn't cope with my machine not having an eth* interface.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugBroken end user or developer functionality; not working as the developers intended itBroken end user or developer functionality; not working as the developers intended it