1 # This file defines the deployment for the MAAS environment which is to be
2 # deployed and automated.
5 # Defines the general setup for the MAAS environment, including the
6 # username and password for the host as well as the MAAS server.
10 # Contains the virtual machine parameters for creating the MAAS virtual
11 # server. Here you can configure the name of the virsh domain, the
12 # parameters for how the network is attached.
13 name: maas-boot-vm-dc1
14 interfaces: ['bridge=br0,model=virtio']
21 # Apt http proxy setting(s)
28 # Virsh power settings
29 # Specifies the uri and keys to use for virsh power control of the
30 # juju virtual machine. If the uri is omitted, the value for the
31 # --remote is used. If no power settings are desired, then do not
32 # supply the virsh block.
34 rsa_priv_key: /home/ubuntu/.ssh/id_rsa
35 rsa_pub_key: /home/ubuntu/.ssh/id_rsa.pub
36 uri: qemu+ssh://ubuntu@10.4.1.1/system
38 # Defines the IP Address that the configuration script will use to
39 # to access the MAAS controller via SSH.
42 # This section allows the user to set a series of options on the
43 # MAAS server itself. The list of config options can be found in
44 # the upstream MAAS documentation:
45 # - http://maas.ubuntu.com/docs/api.html#maas-server
47 main_archive: http://us.archive.ubuntu.com/ubuntu
48 upstream_dns: 10.4.0.2
50 # kernel_opts: "console=tty0 console=ttyS1,115200n8"
51 # ntp_server: ntp.ubuntu.com
53 # This section is used to define the networking parameters for when
54 # the node first comes up. It is fed into the meta-data cloud-init
55 # configuration and is used to configure the networking piece of the
56 # service. The contents of this section are written directly to the
57 # /etc/network/interfaces file.
59 # Please note, this is slightly different than the
60 # node-group-interfaces section below. This will configure the
61 # machine's networking params, and the node-group-interfaces will
62 # configure the maas node-group interfaces which is used for
63 # controlling the dhcp, dns, etc.
66 iface lo inet loopback
69 iface eth0 inet static
75 dns-nameservers 10.4.0.2 127.0.0.1
78 #iface lo inet loopback
81 #iface eth0 inet static
82 # address 192.168.122.2
83 # netmask 255.255.248.0
84 # network 192.168.122.0
85 # broadcast 192.168.122.255
86 # gateway 192.168.122.1
87 # dns-nameservers 192.168.122.1 127.0.0.1
89 # The node-group-interfaces section is used to configure the MAAS
90 # network interfaces. Basic configuration is supported, such as which
91 # device should be bound, the range of IP addresses, etc.
92 # Note: this may contain the special identifiers:
93 # ${maas_net} - the first 3 octets of the ipv4 address
94 # ${maas_ip} - the ip address of the MAAS controller
98 subnet_mask: 255.255.248.0
99 broadcast_ip: 10.4.7.255
108 # Defines the physical nodes which are added to the MAAS cluster
109 # controller upon startup of the node.
113 architecture: amd64/generic
115 - "00:1e:67:e0:0a:4a"
116 - "00:1e:67:e0:0a:4b"
117 - "00:1e:67:d0:9a:10"
118 - "00:1e:67:d0:9a:11"
126 # mac_address: "38:63:bb:43:b8:9c"
127 # requested_address: 192.168.122.5
131 architecture: amd64/generic
133 - "00:1e:67:e0:08:b0"
134 - "00:1e:67:e0:08:b1"
135 - "00:1e:67:d0:99:ee"
136 - "00:1e:67:d0:99:ef"
144 # mac_address: "38:63:bb:43:b8:9c"
145 # requested_address: 192.168.122.5
149 architecture: amd64/generic
151 - "00:1e:67:e0:08:7e"
152 - "00:1e:67:e0:08:7f"
153 - "00:1e:67:c2:23:d8"
154 - "00:1e:67:c2:23:d9"
162 # mac_address: "38:63:bb:43:b8:9c"
163 # requested_address: 192.168.122.5
167 architecture: amd64/generic
169 - "00:1e:67:cf:b8:92"
170 - "00:1e:67:cf:b8:93"
171 - "00:1e:67:d0:9b:0c"
172 - "00:1e:67:d0:9b:0d"
180 # mac_address: "38:63:bb:43:b8:9c"
181 # requested_address: 192.168.122.5
183 # - name: jenkins-slave
184 # tags: jenkins-slave
185 # architecture: amd64/generic
187 # - "52:54:00:f0:5c:53"
190 # address: qemu+ssh://ubuntu@10.4.1.1/system
192 # Contains the virtual machine parameters for creating the Juju bootstrap
193 # node virtual machine
196 interfaces: ['bridge=br0,model=virtio']