-
Notifications
You must be signed in to change notification settings - Fork 3
/
user-data-storage
73 lines (73 loc) · 1.7 KB
/
user-data-storage
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
#cloud-config
autoinstall:
version: 1
refresh-installer:
update: yes
identity:
hostname: newserver
password: "$6$.SAlxBpn2Ch0I$dPF3313pydThKpTXoHH/2aebmxilJVkPSMXtE8ZDG4rQTakd2VQTNZHKCVYRcPvzzCF3DX49hQr114jKYo7De."
realname: 'setup'
username: setup
ssh:
install-server: yes
allow-pw: no
authorized-keys:
- "ADD KEY HERE"
storage:
config:
- id: disk-system
type: disk
match:
path: /dev/nvme0n1
ptable: gpt
wipe: superblock
name: system
- id: part-efi
type: partition
device: disk-system
number: 1
size: 1G
wipe: superblock
flag: boot
grub_device: true
- id: part-boot
type: partition
device: disk-system
number: 2
size: 9G
wipe: superblock
- id: part-root
type: partition
device: disk-system
number: 3
size: 32G
wipe: superblock
- id: format-efi
type: format
volume: part-efi
fstype: fat32
label: efi
- id: format-boot
type: format
volume: part-boot
fstype: btrfs
label: boot
- id: format-root
type: format
volume: part-root
fstype: btrfs
label: root
- id: mount-root
type: mount
device: format-root
path: /
options: 'defaults,relatime,compress=lzo,ssd,discard,autodefrag'
- id: mount-boot
type: mount
device: format-boot
path: /boot
options: 'defaults,relatime,compress=lzo,ssd,discard,autodefrag'
- id: mount-efi
type: mount
device: format-efi
path: /boot/efi