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

2 lines
1.1 KiB
Plaintext

{"ignition":{"version":"3.3.0"},"passwd":{"users":[{"name":"core","passwordHash":"$y$j9T$kNtG1zoLVEs5WhA3pE5Eh1$sKckG1SOcZ/p5Vw/4bqSgttLOW5z6WonOtoW6E91mt3","sshAuthorizedKeys":["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDR7q2FfdizNkvel66N/jHcwlEA8R5JEOneKXshMWqkX jeff@station-1"]}]},"storage":{"disks":[{"device":"/dev/sda","partitions":[{"label":"storage-0","number":1}],"wipeTable":true}],"files":[{"overwrite":true,"path":"/etc/exports","contents":{"compression":"","source":"data:,%2Fvar%2Fmnt%2Fstorage-0%20192.168.1.4(rw)"}},{"overwrite":true,"path":"/etc/hostname","contents":{"compression":"","source":"data:,server-0"}}],"filesystems":[{"device":"/dev/disk/by-partlabel/storage-0","format":"btrfs","label":"storage-0","path":"/var/mnt/storage-0","wipeFilesystem":true}]},"systemd":{"units":[{"contents":"# Generated by Butane\n[Unit]\nRequires=systemd-fsck@dev-disk-by\\x2dpartlabel-storage\\x2d0.service\nAfter=systemd-fsck@dev-disk-by\\x2dpartlabel-storage\\x2d0.service\n\n[Mount]\nWhere=/var/mnt/storage-0\nWhat=/dev/disk/by-partlabel/storage-0\nType=btrfs\n\n[Install]\nRequiredBy=local-fs.target","enabled":true,"name":"var-mnt-storage\\x2d0.mount"}]}}