From 65612edc0b96985e4b209bdb7481760b336e01ed Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 10 Oct 2023 12:07:48 +0200 Subject: [PATCH] examples: add desktop source with different variations Signed-off-by: Olivier Gayot --- examples/answers/desktop.yaml | 2 +- examples/sources/desktop-standard.yaml | 29 ++++++++++++++++ examples/sources/desktop.yaml | 46 +++++++++++++++++++++----- 3 files changed, 67 insertions(+), 10 deletions(-) create mode 100644 examples/sources/desktop-standard.yaml diff --git a/examples/answers/desktop.yaml b/examples/answers/desktop.yaml index 6a0706cc..1754cd4c 100644 --- a/examples/answers/desktop.yaml +++ b/examples/answers/desktop.yaml @@ -1,4 +1,4 @@ -#source-catalog: examples/sources/desktop.yaml +#source-catalog: examples/sources/desktop-standard.yaml Source: source: ubuntu-desktop Welcome: diff --git a/examples/sources/desktop-standard.yaml b/examples/sources/desktop-standard.yaml new file mode 100644 index 00000000..ee54bf7d --- /dev/null +++ b/examples/sources/desktop-standard.yaml @@ -0,0 +1,29 @@ +- default: true + description: + en: A full featured Ubuntu Desktop. + id: ubuntu-desktop + locale_support: langpack + name: + en: Ubuntu Desktop + path: standard.squashfs + preinstalled_langs: + - de + - en + - es + - fr + - it + - pt + - ru + - zh + - '' + size: 4033826816 + type: fsimage-layered + variant: desktop + variations: + enhanced-secureboot: + path: standard.enhanced-secureboot.squashfs + size: 4336062464 + snapd_system_label: enhanced-secureboot-desktop + standard: + path: standard.squashfs + size: 4033826816 diff --git a/examples/sources/desktop.yaml b/examples/sources/desktop.yaml index ee54bf7d..626c1b1e 100644 --- a/examples/sources/desktop.yaml +++ b/examples/sources/desktop.yaml @@ -1,11 +1,11 @@ - default: true description: - en: A full featured Ubuntu Desktop. - id: ubuntu-desktop + en: A minimal but usable Ubuntu Desktop. + id: ubuntu-desktop-minimal locale_support: langpack name: - en: Ubuntu Desktop - path: standard.squashfs + en: Ubuntu Desktop (minimized) + path: minimal.squashfs preinstalled_langs: - de - en @@ -16,14 +16,42 @@ - ru - zh - '' - size: 4033826816 + size: 4015337472 + type: fsimage-layered + variant: desktop + variations: + minimal: + path: minimal.squashfs + size: 4015337472 + minimal-enhanced-secureboot: + path: minimal.enhanced-secureboot.squashfs + size: 4319010816 + snapd_system_label: enhanced-secureboot-desktop +- description: + en: A full featured Ubuntu Desktop. + id: ubuntu-desktop + locale_support: langpack + name: + en: Ubuntu Desktop + path: minimal.standard.squashfs + preinstalled_langs: + - de + - en + - es + - fr + - it + - pt + - ru + - zh + - '' + size: 5735194624 type: fsimage-layered variant: desktop variations: enhanced-secureboot: - path: standard.enhanced-secureboot.squashfs - size: 4336062464 + path: minimal.standard.enhanced-secureboot.squashfs + size: 6006235136 snapd_system_label: enhanced-secureboot-desktop standard: - path: standard.squashfs - size: 4033826816 + path: minimal.standard.squashfs + size: 5735194624