Deploying 12.04 using a custom kernel/image

Asked by Boyang Niu

I would like to start up nodes and install a custom image of 12.04 on them, given that I have a custom installer and the image already created. I'm thinking of putting in a new kernel directory, bypassing the maas-import-pxe-files script and changing the arguments passed to install_image.py in /provisioningserver/pxe/ to be the location of the customized files so that these would be given to the TFTS server instead. Would this work and if not, what other things would I have to change in order to deploy custom ubuntu images onto my machines using maas?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu maas Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Julian Edwards (julian-edwards) said :
#1

While custom images are not officially supported yet (but it will be soon), there are some things you can do to get this working.

First, make sure you are using at least the version of MAAS in the -proposed pocket, it will be SRUed soon. Then:
 - optionally edit /usr/share/pyshared/provisioningserver/pxe/config.commissioning.template to add your custom kernel params
 - overwrite an existing kernel with your custom one

You can probably edit the code too, but it's easier to overwrite an existing kernel image.

Can you help with this problem?

Provide an answer of your own, or ask Boyang Niu for more information if necessary.

To post a message you must log in.