14 Commits

Author SHA1 Message Date
f617c3eebb
Reorder some IPs, update api key, and add start/end for dhcp 2020-12-30 07:59:12 +00:00
39817eca47
Use maas 2.9 now 2020-12-29 15:28:17 +00:00
9add788935
Update to latest api key 2020-12-29 15:27:05 +00:00
86b4fd9459
Updates on the boostrap-maas now for clouds. Use DHCP by default, as problems with AUTO
Failed to allocate the required AUTO IP addresses after 2 retries.
2020-12-29 14:08:41 +00:00
01793ffc49
Bootstrap MAAS fixes and update for SNAP 2020-12-29 12:47:27 +00:00
30ac86aa3f
Fix typo, add pod back, update maas_api_key 2020-12-29 11:20:17 +00:00
e00742c81d
boostrap maas work
* Install and Build working and tested for snap installation
* Added VLAN, spaces awareness in the subnets and added to the same fabric
2020-12-29 00:55:36 +00:00
f16140eac0
Added juju VMs as part of maas-manage-nodes.sh
Some of this is a hack, and some of this needs re-working, but this is
the initial work for this so that this can be fine tuned for later
2020-12-28 17:08:10 +00:00
c95bff6d92
Update hp01 config, and cloud-init
* Make password and virsh user consistent on hp01
* Update the config to reflect the network config from hp01
* Add timezone and byobu config in cloud init
2020-12-28 13:46:23 +00:00
ee0b7bec42
Set all the VMs with tag pod-console-logging
This ensures that "console=tty1 console=ttyS0" is set on the
kernel command line for all the VMS
2020-12-28 10:49:37 +00:00
b7c47ef0ee
Add pod for the hypervisor and other fixes
* Add pod creation, so that when we remove the hypervisor
  then all the VMs also get removed automatically
* virtinst is only used when creating/installing VMs, so
  only install on hypervisor nodes
* Only grab the top vlan if we have 2, this typically
  means that we have an ipv4 and ipv6 IP. Could probably
  do this better, but keep it simple for the time being
2020-12-28 10:17:07 +00:00
35d195c334
More updates
* Move stuff from common to default, as it didn't make sense
* use virsh_user instead, that was its more customisable
* Revert the change to manage-maas-nodes.sh now use extra function to
  call maas_auto_assign_networks instead
* More comments to the code
2020-12-27 10:06:21 +00:00
5fa6255160
Fix some typos, and qemu_connection temp fix 2020-12-26 21:20:00 +00:00
098be2f389
Many update
* Move all configs into config directory
* Move all examples into example directoy
* Move all common functions into functions.sh
* Fine tune a few other functions
* Moved common hypervisor config away
* Added examples for some of the hypervisor configs
* Start work on snap enablement of boostrap-maas.sh script
2020-12-26 20:03:28 +00:00