This is an old revision of the document!
This guide assumes that you already have a MaaS environment set up and working with windows images uploaded. If you do not, head over to How to deploy MAAS, finish that and come back when you are finished.
Prerequisites:
We are going to go through all the steps required to stand up a new Hyper-V CI. At the end of this guide, you should have:
Note, this guide does not cover high availability. That is a topic for a different howto.
First things first. We need a working juju environment to start things off.
We should strive to use the latest stable juju when deploying a new CI environment. However, if any blocking bugs arise, a bug report should be filed against juju-core. Blocking bugs are usually fixed and backported to stable promptly.
sudo apt-add-repository -y ppa:juju/stable sudo apt-get update && sudo apt-get install -y juju-core
juju init
maas: type: maas maas-server: 'http://<ip>/MAAS/' maas-oauth: '<Key you got from http://<MAAS IP>/MAAS/account/prefs/>' bootstrap-timeout: 1800 enable-os-refresh-update: true enable-os-upgrade: true
juju switch maas
juju bootstrap --debug --show-log