-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathautoinstall.yaml
More file actions
103 lines (85 loc) · 1.95 KB
/
autoinstall.yaml
File metadata and controls
103 lines (85 loc) · 1.95 KB
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
101
102
103
autoinstall:
version: 1
refresh-installer:
update: true
channel: stable/ubuntu-$REL
source:
id: ubuntu-desktop-minimal
identity:
hostname: "Archer"
username: "debbie"
password: "$6$kr/FReD1sfkGZI9o$IegkwKDLFDrBh8b9/M8L4dniaGzfuAuSyKOt6j/J0gdOKnijunOqmLEV26PcPuhBYbv1yNc7GRCYrATQaejng0"
locale: pt_BR.UTF-8
keyboard:
layout: br
timezone: "America/Sao_Paulo"
storage:
layout:
name: direct
config:
- id: disk0
type: disk
match:
size: largest
wipe: superblock-recursive
ptable: gpt
# 1. EFI Partition (Required for UEFI)
- id: efi_part
type: partition
device: disk0
size: 1GB
flag: boot
wipe: superblock
- id: efi_fs
type: format
fstype: fat32
volume: efi_part
- id: efi_mount
type: mount
path: /boot/efi
device: efi_fs
# 2. Swap Partition (16GB)
- id: swap_part
type: partition
device: disk0
size: 16G
wipe: superblock
- id: swap_fs
type: format
fstype: swap
volume: swap_part
- id: swap_mount
type: mount
path: none
device: swap_fs
# 3. Root Partition (BTRFS)
- id: root_part
type: partition
device: disk0
size: -1 # Use remaining space
wipe: superblock
- id: root_fs
type: format
fstype: btrfs
volume: root_part
- id: root_mount
type: mount
path: /
device: root_fs
packages:
- gufw
- git
snaps:
- name: code
channel: classic
debconf-selections: |
ufw ufw/enable boolean true
drivers:
install: true
codecs:
install: true
updates: all
shutdown: reboot
late-commands:
- curtin in-target -- apt update
- curtin in-target -- apt install -y curl gpg gedit geany gdebi pipx