forked from canonical/pc-gadget
-
Notifications
You must be signed in to change notification settings - Fork 6
/
gadget.yaml
100 lines (98 loc) · 3.54 KB
/
gadget.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
volumes:
pc:
schema: gpt
# bootloader configuration is shipped and managed by snapd
bootloader: grub
structure:
- name: mbr
type: mbr
size: 440
update:
edition: 1
content:
- image: mbr.img
# This one should be removed in core24
# or if we find a way to allow updates without keeping
# all partitions
- name: BIOS Boot
type: 21686148-6449-6E6F-744E-656564454649
size: 1M
offset: 1M
update:
edition: 2
- name: ubuntu-seed
role: system-seed
filesystem: vfat
# UEFI will boot the ESP partition by default first
type: C12A7328-F81F-11D2-BA4B-00A0C93EC93B
size: 7000M
update:
edition: 2
content:
- source: grubx64.efi
target: EFI/boot/grubx64.efi
- source: shim.efi.signed
target: EFI/boot/bootx64.efi
- name: ubuntu-boot
role: system-boot
filesystem: ext4
type: 0FC63DAF-8483-4772-8E79-3D69D8477DE4
# whats the appropriate size?
size: 750M
update:
edition: 1
content:
- source: grubx64.efi
target: EFI/boot/grubx64.efi
- source: shim.efi.signed
target: EFI/boot/bootx64.efi
- name: ubuntu-save
role: system-save
filesystem: ext4
type: 0FC63DAF-8483-4772-8E79-3D69D8477DE4
size: 32M
- name: ubuntu-data
role: system-data
filesystem: ext4
type: 0FC63DAF-8483-4772-8E79-3D69D8477DE4
size: 1G
defaults:
system:
experimental.user-daemons: true
experimental.dbus-activation: true
refresh.retain: 2
service.ssh.listen-address: 127.0.0.1
swap.size: 4G
# Connect ubuntu-desktop-session
connections:
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:account-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:avahi-control
slot: dVK2PZeOLKA7vf1WPCap9F8luxTk9Oll:avahi-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:desktop-launch
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:hardware-observe
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:home
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:hostname-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:locale-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:login-session-observe
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:login-session-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:mount-observe
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:network-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:network-observe
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:polkit-agent
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:process-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:shutdown
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:snapd-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:system-observe
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:shell-config-files
slot: system:system-files
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:time-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:timeserver-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:timezone-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:upower-observe
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:network-manager
slot: RmBXKl6HO6YOC2DE4G2q1JzWImC04EUy:service
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:bluez
slot: JmzJi9kQvHUWddZ32PDJpBRXUpGRxvNS:service
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:bluetooth-control
- plug: LVkazk0JLrL0ivuHRlv3wp3bK1nAgwtN:cups-control
slot: m1eQacDdXCthEwWQrESei3Zao3d5gfJF:cups-control