Defaults update for offline: maas
- add missing maas definition
- fix regexp for docker debmirror
Change-Id: I46de5ef447fb32f1dbb9317d80bc8b30c2cbbcd5
Prod-related: PROD-26662 (PROD:26662)
Prod-related: PROD-26549 (PROD:26549)
(cherry picked from commit 694d2db97f92be218e76e656290fa6c2dbcbe2aa)
diff --git a/defaults/maas.yml b/defaults/maas.yml
new file mode 100644
index 0000000..df932c8
--- /dev/null
+++ b/defaults/maas.yml
@@ -0,0 +1,17 @@
+parameters:
+ _param:
+ default_local_mirrror_content:
+ maas_mirror_image_sections:
+ bootloaders:
+ keyring: /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg
+ upstream: ${_param:linux_system_repo_url}/maas-ephemeral-v3/
+ local_dir: /srv/http/${_param:mcp_version}/maas-ephemeral-v3/
+ count: 1
+ # i386 need for pxe
+ filters: ['arch~(i386|amd64)', 'os~(grub*|pxelinux*)']
+ xenial:
+ keyring: /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg
+ upstream: ${_param:linux_system_repo_url}/maas-ephemeral-v3/
+ local_dir: /srv/http/${_param:mcp_version}/maas-ephemeral-v3/
+ count: 1
+ filters: ['release~(xenial)', 'arch~(amd64)', 'subarch~(generic|hwe-16*|ga-16*)']