Hi,
I came across that MAAS is planning to support custom images for different OSs here.
https://git.launchpad.net/maas/tree/src/provisioningserver/drivers/osystem
Can debian be included in these custom images as well?
I know that there were issues with supporting debian directly but a with custom template for debian it can be easily installed with MAAS. It would be easier to have a separate custom template for debian as well here preseeds « maas « etc « package-files - maas - [no description]
#cloud-config
apt:
preserve_sources_list: true
kernel:
fallback-package: linux-image-amd64
package: linux-image-amd64
debconf_selections:
maas: |
{{for line in str(curtin_preseed).splitlines()}}
{{line}}
{{endfor}}
late_commands:
# Fix for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055890
01_fix_cloud_init: [curtin, in-target, '--', 'wget', '-O', '/var/lib/dpkg/info/cloud-init.postinst', 'https://github.com/canonical/cloud-init/raw/ubuntu/devel/debian/cloud-init.postinst']
02_fix_cloud_init: [curtin, in-target, '--', 'bash', '-c', 'chmod +x /var/lib/dpkg/info/cloud-init.postinst']
maas: [wget, '--no-proxy', '{{node_disable_pxe_url}}', '--post-data', '{{node_disable_pxe_data}}', '-O', '/dev/null']
As soon as the debian cloud-init bug is fixed, the template will almost be same as others.
Thanks,