This is an old revision of the document!
This page will describe how you can test running CentOS under Juju. This has been just merged so full support is not yet here. Some of the known issues are: no support for yum mirrors/proxies, no mongo tools(which implies no backups amongst other things). However most of the functionality of Juju should be here.
First off, to get started you should follow our other two tutorials:
This should give you a ready to go MaaS and Juju environment. Make sure you can bootstrap a trusty state machine before following the next steps to make debugging easier.
$ bzr branch lp:maas-image-builder $ cd maas-image-builder # python setup.py install
This will probably take a very long time. You can do the rest of the juju configuration in the meantime. However, before bootstrapping a node with CentOS, the image should be uploaded to MaaS.
# maas-image-builder -o centos7-amd64-root-tgz centos --edition 7
# maas <session-name> boot-resources create title=centos7 name=centos7 architecture=amd64/generic content@=centos7-amd64-root-tgz
$ mkdir -p ~/.juju/tools/releases $ cd ~/.juju/tools/releases $ cp ~/golang/bin/jujud* . $ tar -czf juju-1.24-centos7-amd64.tgz jujud $ tar -czf juju-1.24-trusty-amd64.tgz jujud $ rm jujud
$ rm -rf ~/.juju/tools/streams
$ juju-metadata generate-tools # cp -r ~/.juju/tools /var/www/html # chmod -R 755 /var/www/html/tools
agent-metadata-url: http://<MaaS-Machine-IP>/tools
default-series: 'centos7'
juju bootstrap