-
Notifications
You must be signed in to change notification settings - Fork 34
Ubuntu 20.04 base cloud config.yml
Todd Eddy edited this page May 31, 2020
·
2 revisions
Here are the contents of cloud-config.yml from a base install. Note the original file compressed lines (for example the identity
field was a long series of values surrounded by {}
) I expanded most of those out for clarity.
#root@ubuntu2004:~# cat /var/log/installer/autoinstall-user-data
#cloud-config
autoinstall:
apt:
geoip: true
preserve_sources_list: false
primary:
- arches: [amd64, i386]
uri: http://us.archive.ubuntu.com/ubuntu
- arches: [default]
uri: http://ports.ubuntu.com/ubuntu-ports
identity:
hostname: ubuntu2004
password: $6$e9XpjBZVkbL.8nk9$t/2A8jwJvYRcVCiCo/d/6vu8Ix3ZOEqRRN1KpwKSt91dTnR7KmYi7YeVK.uRB40LfFdsaX88UsNo5Vbjt5p/D0
realname: ubuntu
username: ubuntu
keyboard:
layout: us
toggle: null
variant: ''
locale: en_US
network:
ethernets:
enp0s3: {dhcp4: true}
version: 2
proxy: http://MyAptCache.example:3142/
ssh:
allow-pw: true
authorized-keys: []
install-server: true
storage:
config:
-
id: disk-sda
type: disk
grub_device: true
name: ""
path: /dev/sda
preserve: false
ptable: gpt
serial: VBOX_HARDDISK_VB8b627963-ad3c4656
wipe: superblock
-
id: partition-0
type: partition
device: disk-sda
flag: bios_grub
number: 1
preserve: false
size: 1048576
-
id: partition-1
type: partition
device: disk-sda
flag: ""
number: 2
preserve: false
size: 1073741824
wipe: superblock
-
id: format-0
type: format
fstype: ext4
preserve: false
volume: partition-1
-
id: partition-2
type: partition
device: disk-sda
flag: ""
number: 3
preserve: false
size: 20397948928
wipe: superblock
-
id: lvm_volgroup-0
type: lvm_volgroup
devices:
- partition-2
name: ubuntu-vg
preserve: false
-
id: lvm_partition-0
type: lvm_partition
name: ubuntu-lv
preserve: false
size: 4294967296B
volgroup: lvm_volgroup-0
-
id: format-1
type: format
fstype: ext4
preserve: false
volume: lvm_partition-0
-
id: mount-1
type: mount
device: format-1
path: /
-
id: mount-0
type: mount
device: format-0
path: /boot