Skip to content

Instantly share code, notes, and snippets.

@noslin005
Created August 14, 2020 15:17
Show Gist options
  • Save noslin005/9b409735bf85df225c17a69e89e381a6 to your computer and use it in GitHub Desktop.
Save noslin005/9b409735bf85df225c17a69e89e381a6 to your computer and use it in GitHub Desktop.
Ubuntu 20.04 LTS Server (Standard Install)
#cloud-config
autoinstall:
refresh-installer:
update: true
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: ubuntu, password: $6$LcmG1AyFp/SSpPtX$JPDKZUrBgwzL1vYG/IgGEYTu3yJJ67ZdjhxiBsd5F00UYgLqiIcw5vKluv2xkhDU8Kh3TiO/klRX3tY4HsGIP.,
realname: Default User, username: user}
keyboard: {layout: us, variant: ''}
locale: en_US.UTF-8
ssh:
allow-pw: true
authorized-keys: []
install-server: true
storage:
grub:
reorder_uefi: false
config:
- {ptable: gpt, path: /dev/nvme0n1, preserve: false,
name: '', grub_device: false, type: disk, id: disk-nvme}
- {device: disk-nvme, size: 536870912, wipe: superblock, flag: boot, number: 1,
preserve: false, grub_device: true, type: partition, id: partition-0}
- {fstype: fat32, volume: partition-0, preserve: false, type: format, id: format-0}
- {device: disk-nvme, size: 53687091200, wipe: superblock, flag: '', number: 2,
preserve: false, type: partition, id: partition-1}
- {fstype: ext4, volume: partition-1, preserve: false, type: format, id: format-1}
- {device: format-1, path: /, type: mount, id: mount-1}
- {device: disk-nvme, size: 8589934592, wipe: superblock, flag: swap, number: 3,
preserve: false, type: partition, id: partition-2}
- {fstype: swap, volume: partition-2, preserve: false, type: format, id: format-2}
- {device: format-2, path: '', type: mount, id: mount-2}
- {device: disk-nvme, size: -1, wipe: superblock, flag: '', number: 4,
preserve: false, type: partition, id: partition-3}
- {fstype: ext4, volume: partition-3, preserve: false, type: format, id: format-3}
- {device: format-3, path: /home, type: mount, id: mount-3}
- {device: format-0, path: /boot/efi, type: mount, id: mount-0}
swap: {swap: 0}
version: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment