In weavewait, wait for the multicast route to be added before calling container entrypoint.

We have moved the 'route add' command to the end of 'attach', so this
indicates that all network interface set-up is complete.
This commit is contained in:
Bryan Boreham committed 2015-08-27 15:10:31 +01:00
1 parent 3d25620d13
commit 2eed101a93
4 files changed
+90 -12

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ func main() {
args = os.Args[1:]
)
_, err := weavenet.EnsureInterface("ethwe")
_, err := weavenet.EnsureInterfaceAndMcastRoute("ethwe")
checkErr(err)
if len(args) == 0 {