-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathnew_ubuntu_autoinstall.yaml
More file actions
67 lines (67 loc) · 1.87 KB
/
Copy pathnew_ubuntu_autoinstall.yaml
File metadata and controls
67 lines (67 loc) · 1.87 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
#cloud-config
autoinstall:
version: 1
# reporting:
# hook:
# type: webhook
# endpoint: http://example.com/endpoint/path
# early-commands:
# - ping -c1 198.162.1.1
locale: en_US
keyboard:
layout: gb
variant: dvorak
# network:
# network:
# version: 2
# ethernets:
# enp0s25:
# dhcp4: yes
# enp3s0: {}
# enp4s0: {}
# bonds:
# bond0:
# dhcp4: yes
# interfaces:
# - enp3s0
# - enp4s0
# parameters:
# mode: active-backup
# primary: enp3s0
# proxy: http://squid.internal:3128/
apt:
# primary:
# - arches: [default]
# uri: http://repo.internal/
# sources:
# my-ppa.list:
# source: "deb http://ppa.launchpad.net/curtin-dev/test-archive/ubuntu $RELEASE main"
# keyid: B59D 5F15 97A5 04B7 E230 6DCA 0620 BBCF 0368 3F77
storage:
layout:
name: lvm
password: $LUKS_PASSPHRASE
identity:
hostname: hariseldon
username: ubuntu
password: $CRYPTED_PASS
ssh:
install-server: yes
authorized-keys:
- $key
allow-pw: no
snaps:
# - name: go
# channel: 1.20/stable
# classic: true
# debconf-selections: |
# bind9 bind9/run-resolvconf boolean false
packages:
- libreoffice
- dns-server^
user-data:
disable_root: false
late-commands:
- sed -ie 's/GRUB_TIMEOUT=.*/GRUB_TIMEOUT=30/' /target/etc/default/grub
# error-commands:
# - tar c /var/log/installer | nc 192.168.0.1 1000