Created
August 14, 2020 15:16
-
-
Save noslin005/c5ac6de95d427dd9ab0650ff7dfbee02 to your computer and use it in GitHub Desktop.
Ubuntu 20.04 LTS Server RAID 1 (Standard Partition)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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$147iUawVdOQYBj7X$RTYER0fSZFeDgnC2V0K5ri3A3nAtqjmPyodueyBb0evdmFTRVqeozFW3WYgQfNxtjgadDPjoin0Q29Z/O7Tof1, | |
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-nvme0n1} | |
- {ptable: gpt, path: /dev/nvme1n1, preserve: false, name: '', grub_device: false, type: disk, | |
id: disk-nvme1n1} | |
- {device: disk-nvme1n1, 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-nvme0n1, size: 536870912, wipe: superblock, flag: boot, number: 1, | |
preserve: false, grub_device: true, type: partition, id: partition-1} | |
- {fstype: fat32, volume: partition-1, preserve: false, type: format, id: format-1} | |
- {device: disk-nvme1n1, size: 53687091200, wipe: superblock, flag: '', number: 2, | |
preserve: false, type: partition, id: partition-3} | |
- {device: disk-nvme0n1, size: 53687091200, wipe: superblock, flag: '', number: 2, | |
preserve: false, type: partition, id: partition-4} | |
- {device: disk-nvme1n1, size: 8589934592, wipe: superblock, flag: '', number: 3, | |
preserve: false, type: partition, id: partition-5} | |
- {device: disk-nvme1n1, size: -1, wipe: superblock, flag: '', number: 4, | |
preserve: false, type: partition, id: partition-6} | |
- {device: disk-nvme0n1, size: 8589934592, wipe: superblock, flag: '', number: 3, | |
preserve: false, type: partition, id: partition-7} | |
- {device: disk-nvme0n1, size: -1, wipe: superblock, flag: '', number: 4, | |
preserve: false, type: partition, id: partition-8} | |
- name: md0 | |
raidlevel: raid1 | |
devices: [partition-3, partition-4] | |
spare_devices: [] | |
preserve: false | |
type: raid | |
id: raid-0 | |
- name: md1 | |
raidlevel: raid1 | |
devices: [partition-5, partition-7] | |
spare_devices: [] | |
preserve: false | |
type: raid | |
id: raid-1 | |
- name: md2 | |
raidlevel: raid1 | |
devices: [partition-6, partition-8] | |
spare_devices: [] | |
preserve: false | |
type: raid | |
id: raid-2 | |
- {fstype: ext4, volume: raid-0, preserve: false, type: format, id: format-3} | |
- {device: format-3, path: /, type: mount, id: mount-2} | |
- {fstype: ext4, volume: raid-2, preserve: false, type: format, id: format-4} | |
- {device: format-4, path: /home, type: mount, id: mount-3} | |
- {fstype: swap, volume: raid-1, preserve: false, type: format, id: format-5} | |
- {device: format-5, path: '', type: mount, id: mount-4} | |
- {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