home_server/server-0.bu
2023-06-13 21:57:30 -04:00

32 lines
824 B
Plaintext

variant: fcos
version: 1.4.0
passwd:
users:
- name: core
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDR7q2FfdizNkvel66N/jHcwlEA8R5JEOneKXshMWqkX jeff@station-1
password_hash: $y$j9T$kNtG1zoLVEs5WhA3pE5Eh1$sKckG1SOcZ/p5Vw/4bqSgttLOW5z6WonOtoW6E91mt3
storage:
files:
- path: /etc/exports
overwrite: true
contents:
inline: /var/mnt/storage-0 192.168.1.4(rw)
- path: /etc/hostname
overwrite: true
contents:
inline: server-0
disks:
- device: /dev/sda
wipe_table: true
partitions:
- number: 1
label: storage-0
filesystems:
- path: /var/mnt/storage-0
device: /dev/disk/by-partlabel/storage-0
format: btrfs
label: storage-0
wipe_filesystem: true
with_mount_unit: true