Comment 0 for bug 1384378

Revision history for this message
JuanJo Ciarlante (jjo) wrote : MaaS 1.7 changes curtin preseed filename schema and network/interfaces overwrittnig placement

To make our maas-1.5 deployment to work with our curtin preeseed files,
we had to make a couple fixes:

#1 add _${release} in the middle to /etc/maas/preseeds/ filenames, ie:
* working in 1.5:
curtin_userdata_amd64_generic_trusty_alderaan.local
* fixed for 1.7:
curtin_userdata_ubuntu_amd64_generic_trusty_alderaan.local

#2 move explicit /etc/network/interfaces overwriting to the 'far' end of late_commands:
* working in 1.5:
late_commands:
     bonding_02: ["curtin", "in-target", "--", "wget", "-O", "/etc/network/interfaces", "http://[...snip...]"]

* fixed for 1.7:
late_commands:
     zz_write_ifaces: ["curtin", "in-target", "--", "wget", "-O", "/etc/network/interfaces", "http://[...snip...]"]