Customizing fastpath (curtin) installations in MAAS

Working off my previous entry about using fastpath installer in MAAS I decided to dig a little deeper into customizing those installations a bit. One thing to note is fastpath(curtin/curt installer) installations do not follow the same guidelines that are used in preseed files for Debian installer. Some overview documentation of fastpath can be located here and thanks to Scott Moser we were able to come up with the following example scenario.

Example scenario

Setting up vlans during a fastpath installation.

On the MAAS server edit /etc/maas/preseeds/curtin_userdata and write the following (substituting your vlan configuration):

Once your node is deployed simply ssh into the instance and verify the 8021q module is loaded and that ifconfig reports your added vlans.

Our lsmod output shows the proper module loaded

/etc/network/interfaces shows the correct vlan information


curtin_userdata is a YAML file so any thing that applies to the YAML 1.2 specification should work here. For example, you’ll notice &myinterfaces and *myinterfaces, these are node anchors more commonly called references for repeating YAML items. See this wikipedia page for more information and the YAML spec.

CC BY-SA 4.0
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

+ 2 = ten

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">