I would like to modify the images that are included in MAAS so that I can install laptops and desktops with it instead of the normal cloud images.
|
I'm by no means an expert on this but it appears that you can configure the preseed to add late_commands. For example, you can configure the preseed to install a package based on the hostname, and after the installation has been completed:
Note the following: Warning Do not try to alter the preseed files if you don’t have a good understanding of what you are doing. Altering the installed version of Ubuntu can prevent MAAS from working as intended, and may have security and stability consequences. Source: https://maas.ubuntu.com/docs/configure.html#altering-the-preseed-file Further reading: |
||||
|
|
|
Edit Add whatever package you need in a the same format as a debian preseed file, here is the default:
You can add packages you want in there, or you can then customise this to do something like the desktop instead:
This will install your packages on all subsequent installations (previously provisioned machines will be unaffected). |
|||||||||||||
|