Change mount point
This commit is contained in:
parent
f3662e907c
commit
7cc6500274
@ -11,7 +11,7 @@ storage:
|
|||||||
- path: /etc/exports
|
- path: /etc/exports
|
||||||
overwrite: true
|
overwrite: true
|
||||||
contents:
|
contents:
|
||||||
inline: /var/storage-0 192.168.1.*(rw,sync)
|
inline: /var/mnt/storage-0 192.168.1.4(rw)
|
||||||
- path: /etc/hostname
|
- path: /etc/hostname
|
||||||
overwrite: true
|
overwrite: true
|
||||||
contents:
|
contents:
|
||||||
@ -23,7 +23,7 @@ storage:
|
|||||||
- number: 1
|
- number: 1
|
||||||
label: storage-0
|
label: storage-0
|
||||||
filesystems:
|
filesystems:
|
||||||
- path: /var/storage-0
|
- path: /var/mnt/storage-0
|
||||||
device: /dev/disk/by-partlabel/storage-0
|
device: /dev/disk/by-partlabel/storage-0
|
||||||
format: btrfs
|
format: btrfs
|
||||||
label: storage-0
|
label: storage-0
|
||||||
|
@ -1 +1 @@
|
|||||||
{"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%2Fstorage-0%20192.168.1.*(rw%2Csync)"}},{"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/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/storage-0\nWhat=/dev/disk/by-partlabel/storage-0\nType=btrfs\n\n[Install]\nRequiredBy=local-fs.target","enabled":true,"name":"var-storage\\x2d0.mount"}]}}
|
{"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"}]}}
|
||||||
|
Loading…
Reference in New Issue
Block a user