Skip to content

Commit

Permalink
examples: add desktop source with different variations
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
  • Loading branch information
ogayot committed Oct 10, 2023
1 parent 00011e2 commit 65612ed
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/answers/desktop.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#source-catalog: examples/sources/desktop.yaml
#source-catalog: examples/sources/desktop-standard.yaml
Source:
source: ubuntu-desktop
Welcome:
Expand Down
29 changes: 29 additions & 0 deletions examples/sources/desktop-standard.yaml
Original file line number Diff line number Diff line change
@@ -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
40 changes: 34 additions & 6 deletions examples/sources/desktop.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
- default: true
description:
en: A minimal but usable Ubuntu Desktop.
id: ubuntu-desktop-minimal
locale_support: langpack
name:
en: Ubuntu Desktop (minimized)
path: minimal.squashfs
preinstalled_langs:
- de
- en
- es
- fr
- it
- pt
- ru
- zh
- ''
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: standard.squashfs
path: minimal.standard.squashfs
preinstalled_langs:
- de
- en
Expand All @@ -16,14 +44,14 @@
- ru
- zh
- ''
size: 4033826816
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

0 comments on commit 65612ed

Please sign in to comment.