Commit Graph

11 Commits

Author SHA1 Message Date
Phil Sphicas 843089243b Allow additional late_commands in curtin userdata
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
2020-06-20 18:57:42 +00:00
Phil Sphicas 3624da26f5 Disable creation of swap file
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
2020-06-01 23:09:36 +00:00
Anderson, Craig (ca846m) 5af724cff0 Add ability to configure system account password
Change-Id: Ifae2fa7d19472c601069ba9dff5b24396c2db338
2020-03-18 13:25:41 -07:00
Kaspars Skels f6844a5987 Support for MAAS URL overrides
Change-Id: I64af23c11f1717b6f0c2d52ec49edda8c31dff78
2019-04-23 15:42:44 -05:00
Scott Hussey 617607e426 (fix) Fix static ports in MAAS ingress
- 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
2018-12-07 22:18:45 +00:00
Scott Hussey 74af40376b MAAS support for pod mobility
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
2018-10-23 08:19:53 -05:00
Scott Hussey eb73ba58b5 [Fix] Fix empty bootaction tar files
- 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
2018-06-12 09:46:43 -05:00
Scott Hussey 3e4849e132 [373577] Allow hostnames with underscores
- 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
2018-05-02 21:58:08 -05:00
Scott Hussey 9510eb29bf Fix typo in curtin_userdata override
A extraneuous } caused an invalid cloud-init
payload to be rendered.

Change-Id: I9849cbfdd637cb5f4dc8581f9255b8ab405989ba
2017-11-13 15:31:58 -06:00
Scott Hussey 4b43a7dbd8 Integration w/ Drydock bootactions
- 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
2017-11-05 14:42:29 -06:00
Scott Hussey 668fd328d2 Move MaaS chart into maas repo
Change-Id: If1d9e92d9a691892b9a3afcef5b229d704b5dcbc
2017-10-25 14:02:38 -05:00