Commit Graph

36 Commits

Author SHA1 Message Date
arif 400484e503 Further updates
* Add extra bootstrap flags, will need to parametrise these at some point
* ensure nodes are tagged when they are newly created
* assign the same ip suffix on the hypervisors for consistency
2021-12-20 02:37:48 +00:00
arif 52daf21f48 Allow ram to ballon 1.5 times allocated 2021-12-19 16:31:36 +00:00
arif 2a1925805a purge the snap when removing 2021-04-22 17:54:49 +01:00
arif becc0f2848 A dot is required for cname at the end 2021-03-19 17:47:42 +00:00
arif f639776164 use maas_ip_range 2021-03-16 11:55:20 +00:00
arif 4c4a9d97c0 Add facility to add DNS records 2021-03-16 11:52:46 +00:00
arif 5029e9735a A few updates
* Enable juju ha
* target juju tagged nodes for juju controllers
* Only update interfaces if they don't exist on the hypervisors
2021-02-08 09:08:49 +00:00
arif 6c2deaf61f Add add-repo back in, and fix boot-source import 2021-01-31 18:46:32 +00:00
arif 5f1af99797 Add apt repo, and not specify postgres version 2021-01-31 17:21:39 +00:00
arif d53d6c25c7 bootstrap maas updates
* parametrise maas_kernel_opts and maas_name, so that it's not specific
  for an environment
* update boot-source-selections such that we have both focal and bionic
  by default
2020-12-31 13:35:13 +00:00
arif f741007501 Update bootstrap-maas, auto calculate node_count
* Ensure that the boot-sources are done at the beginning to give it
  time to sync
* Automatically calculate the amount of VMs depending on memory
2020-12-30 09:36:48 +00:00
arif f617c3eebb Reorder some IPs, update api key, and add start/end for dhcp 2020-12-30 07:59:12 +00:00
arif 742eef5901 Update the subnets, and revert the mode to AUTO
* enable/disable managed on the subnets. This resolves the problem where AUTO IP
  doesn't seem to work. This is a workaround to help with this
* Revert the AUTO mode, now that the above issue is resolved
2020-12-29 20:53:37 +00:00
arif 276e98bcc3 Update formatting/spaces and more boot-source-selection stuff
* More tabs to spaces, so that formatting and disaply looks the same
  on terminal and text editor
* Ensure that only amd64 are being sync'd
* If using MAAS 2.9, then focal gets downloaded by default, so add
  bionic to the list too
* Cross out items in TODO that have now been implemented
2020-12-29 16:59:25 +00:00
arif 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
arif 01793ffc49 Bootstrap MAAS fixes and update for SNAP 2020-12-29 12:47:27 +00:00
arif 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
arif 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
desrod 6eb4d11134 Some variable renaming, cleanup 2020-05-16 20:59:56 -04:00
desrod c2bfdae3ba Fixing a small quoting error 2020-05-12 10:10:17 -04:00
David A. Desrosiers 21cdc37610 Changed snap-store-proxy as the upstream purpose of that variable has changed in scope (https://juju.is/docs/offline-mode-strategies#heading--snap-specific-proxy) 2020-05-11 14:02:38 -04:00
David A. Desrosiers 1d8254c8bf Moving one more unnecessary var to the maas.config 2020-05-11 13:41:33 -04:00
David A. Desrosiers f7fabfd9f5 Removing hard-coded values from main run 2020-05-11 13:38:57 -04:00
David A. Desrosiers 158a1c33fe More cleanup, extra spaces, moved packages from required_bins into core_packages, renamed package_repository 2020-05-11 13:36:57 -04:00
desrod 6b2cd78a61 Some additional error checking for maas.config and maas.debconf 2020-05-11 13:21:06 -04:00
desrod dff4a06f5d Cleaning out some of the vars now included in the separate config, added a new core_packages to hold dependencies (thanks Chris!) 2020-05-11 13:16:40 -04:00
desrod 0d74e6a37a Updated to use a configuration file, key=value pairs, minor cleanup 2020-05-07 11:50:58 -04:00
desrod 4894a9f01a Adding eatmydata to required bins to speed up dpkg/apt fsync() calls 2020-05-06 23:36:42 -04:00
desrod 04d072ebf3 Cleaning up some hard-coded values, fixing the jq construct, shellcheck clean 2020-05-06 23:25:47 -04:00
desrod db917520e2 Big pile-o-updates to allow cleaner, more automated provisioning. Added zswap, pointed to LXD squid proxy container and other pieces. 2020-04-29 16:11:40 -04:00
David A. Desrosiers 516cda5d33 Minor updates for local proxy in lxd container 2019-05-23 05:21:31 +00:00
David A. Desrosiers 82685ff2ff Updates for faster kvm nodes, dual NIC support, local mirrors 2019-03-26 16:12:00 +00:00
David A. Desrosiers 368afe9cc9 More minor tweaks to streamline things, optimize kvm nodes 2019-03-13 02:09:09 +00:00
David A. Desrosiers ad6504670b Updates to handle kvm/VxT host passthrough and more maas tweaks 2019-03-11 04:53:49 +00:00
David A. Desrosiers 186cbbf6e1 Updated for new NUC hardware capabilities 2019-03-01 21:11:47 +00:00
desrod 7494e3ef93 Moving some files around 2018-04-20 14:12:01 -04:00