Comment 15 for bug 1567169

Revision history for this message
Radoslaw (radraw) wrote :

Here is patch for juju 2.2 implementing --machines option from comment #8

How to apply:

cd $GOPATH/src/github.com/juju/juju
patch -p1 < ~/juju-machines-2.2.patch

Example usage:

juju deploy somebundle.yaml --machines "0=0 1=1 2=2"

This patch has limitation, only works when bundle is specified as a file. I managed to install Canonical Kubernetes Distribution bundle on pre-created machines using Manual cloud. I hope it will be useful for other cases as well.