ubuntu 版本代号:
lucid(10.04)
Natty(11.04)Oneiric(11.10)
Precise(12.04)
Quantal(12.10)
Trusty(14.04)
Utopic(14.10)
Vivid(15.04)
Wily(15.10)
Xenial(16.04)
juju agent 所在位置
/var/lib/juju/jujud
/var/lib/juju/charm
安装charn & charn-tools
apt-get install charmapt-get install charm-tools
or [snap install charm-tools]
[cloud]
juju clouds
juju show-clouds testmaas
[controller]
juju bootstrap --bootstrap-series=centos7 --config bootstrap-timeout=900 testmaas testmaas-controller
juju bootstrap --bootstrap-series=trusty --config bootstrap-timeout=900 testmaas testmaas-controller
juju bootstrap --bootstrap-series=xenial --config bootstrap-timeout=900 testmaas testmaas-controller
juju controllers
juju destroy-controller testmaas-controller --destroy-all-models
[machine]
juju machines
juju add-machine
juju remove-machine 4
juju deploy $JUJU_REPOSITORY/trusty/vanilla --series xenial
juju deploy mysql
juju deploy gitlab
juju add-relation gitlab mysql
juju expose gitlab
[ssh]
ssh ubuntu@192.168.100.2
go install -v github.com/juju/juju/...