50 Commits

Author SHA1 Message Date
f467c70ed9
add the feature to have either network or bridge for virt-install 2020-12-23 16:45:35 +00:00
b12f28aeca
Fix more tab to spaces, Add comments 2020-12-23 16:37:26 +00:00
02d222c3a8
Change all tabs to spaces 2020-12-23 16:00:28 +00:00
9700bfa74e
More fine tunning and comments
* Add the 4th HEX for the MAC address too
* Add comments in the destroy VM function
* Fix spacing, so that it's consistent in the destroy VM function
2020-12-23 15:58:03 +00:00
fb3a6d76da
More updates
* Make the variables consistent across all the functions
* build_fanout instead of build_timeout
* Release machine in maas, if we're wiping the disk for re-using
* Move the for loop to check for machine being ready into a function,
  so that it's re-usable
* Update some formatting fixes to README.md
2020-12-23 14:54:27 +00:00
d19bf0a93e
seperate out configs
* move out the maas.config to rpi4, just incase I move things around
* add asrock02 pending maachine to arrive soon
* add os-variant
2020-12-22 19:56:31 +00:00
297bc33aab
move the disk definition to the hypervisor config 2020-12-22 18:28:16 +00:00
36065d8dd1
fix curlies for array 2020-12-22 18:25:06 +00:00
fe90e59161
Put the disks in arrays, to be more dynamic 2020-12-22 18:14:42 +00:00
68cb074d33
Use the maas_profile variable 2020-12-22 14:16:57 +00:00
70a79c99aa
more fixes
* Use the maas snap for the maas-cli stuff, as there is no recent maas-cli deb
* update the way to tag a node, which now works
* put back the double ampersand for creating the VM
2020-12-22 13:58:30 +00:00
373ee0ff1c
More updates
* Add hypervisor config file to standardise script
* Add macs and bridges as an array
2020-12-22 12:50:53 +00:00
3c35b5de22
Get maas tags to work, fix tabs for virt-install 2020-12-22 10:14:50 +00:00
7a65a06f35
Update maas-nodes script for my environment
* The script now adds N control nodes at the beginning
* Adds 4 extra interfaces, VLANs in my environment
* Adds the VMs to MAAS, commissions them, and updates the interfaces.
* Add a function that just wipes the VM disks, for re-purposing.
  This allows to release the machines in MAAS, and then re-use them
  without having to re-add/commission the machines.
2020-12-22 08:33:12 +00:00
desrod
7d20bd1f1b Second pass at renaming in the maas.config.example config 2020-05-16 21:00:47 -04: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
745266630c Adding example debconf for maas autobuilder 2020-05-11 13:18:58 -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
bd2d0ad469 Start up the nodes when they're provisioned so maas can find them on the network 2020-05-06 23:27:44 -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
1d031169af Updated for larger disks, faster parallel provisioning 2020-04-29 16:13:28 -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
a517a0f8b9 Merged some of Ed Hope-Morley's work into generic novarc 2019-07-10 13:11:10 +00:00
David A. Desrosiers
3f6cffe6d5 Added self-healing admin-openrc file, so we don't have to reach into Horizon and download the RC file each time 2019-07-03 14:00:21 +00: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
caaf53c812 Because formatting for github matters! 2018-04-26 14:36:55 -04:00
desrod
b601c9ab5b Cleaning up the README 2018-04-26 14:35:19 -04:00
desrod
306cc9e462 Gutted the node provisioning script, rewrote important pieces 2018-04-26 13:35:10 -04:00
desrod
cfab372773 Expanding README for more clarity 2018-04-26 12:25:45 -04:00
desrod
74ac0c9348 Cleaning up unnecessary use of and fixing invalid function entry points 2018-04-26 12:25:32 -04:00
desrod
10b8331f21 Removing renamed build.sh 2018-04-20 14:13:25 -04:00
desrod
f4c4371801 Merge branch 'master' of https://github.com/desrod/maas-autobuilder 2018-04-20 14:12:36 -04:00
desrod
7494e3ef93 Moving some files around 2018-04-20 14:12:01 -04:00
desrod
ddf523b897 Updating some minor bits 2018-04-19 16:08:54 -04:00
desrod
0c17c13aa0 Adding some detail to README 2018-04-05 10:58:46 -04:00
desrod
e5330dc451 More cleanup, just tightening things up. 2018-04-05 10:58:26 -04:00
desrod
fa6742eda3 Cleaning up README 2018-04-05 09:20:39 -04:00
David A. Desrosiers
023acf75dc Initial commit of MAAS auto-builder script/tools 2018-04-05 09:18:06 -04:00