This change allows extra late_commands to be added to the curtin
userdata, which are executed before the node is rebooted at the end of
the deployment. This can be useful to install packages or perform other
customization.
One sample use-case is the installation of specific kernel module
packages that match the target kernel image, in cases where the
ephemeral environment uses a different kernel version.
Change-Id: I80084c544f6a7dafd6aa84c8041cf86bdc3b9f4b
By default, curtin creates a swap file of up to 8GB. When swap is later
disabled, there is still a /swap.img file left hanging around that needs
to be cleaned up.
This change sets the size to 0 to disable the creation of the swap file
in the first place.
https://curtin.readthedocs.io/en/latest/topics/config.html#swap
Change-Id: I9e1e5f67007ae3c49617525e989b27e123b69d53
- Some residual static configuration was left in the MAAS ingress
deployment template. Update it to render the ingress ports from
endpoints and also to remove the TCP forwarder for the MAAS
region API and instead use a standard Ingress resource.
Change-Id: I7764d48ea919147503e9bf2521c52cb6f0028538
Upgrades to the MAAS chart to allow for the Pods
running the rack and region services to work across
all control plane hosts.
Change-Id: I84c856599a1122a2b4a64242a7cea357887b0462
- When a bootaction returns a tarfile with nothing in it,
the curtin script fails and causes a failed deployment. This
fix supports empty tar files.
- Pin to a old helm-toolkit commit to avoid breaking changes
Change-Id: I68c1f0ab3247b901e0dc9041c86ddf4d63e036ff
- Use a different token in the tag representing bootaction key
so that a hostname with a underscore doesn't cause a deployment
failure
Change-Id: I6197494bfe28398300e38b5017ad94350204340e
- Add Values.conf.curtin.override switch for enabling/disable whether
the default curtin_userdata is overwritten
- Update the customized template for curtin_userdata to be compatible
with the Drydock boot action system
Change-Id: I90c317725dfdd34a756e90425c9c3fcfcc6911db