func RunWeaveNet(h *host.Host) error {
	if _, err := h.RunSSHCommand("docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /proc:/hostproc -e PROCFS=/hostproc --privileged --net=host weaveworks/weaveexec --local launch-router --plugin"); err != nil {
		return fmt.Errorf("Weave Net run command failed: '%s'", err)
	}
	return nil
}
RunWeaveNet run Weave Net on given host
package weave
import (
	"fmt"
	"github.com/docker/machine/libmachine/host"
)