mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
chore(nfs): goliath
This commit is contained in:
parent
db8981cad0
commit
681e25cd9c
4 changed files with 37 additions and 3 deletions
|
|
@ -7,6 +7,9 @@
|
|||
"/mnt/kyuuto-data/systems/gengetsu/fs/boot mnt/kyuuto-data/systems/gengetsu/fs/boot none bind,optional,create=dir",
|
||||
"/mnt/kyuuto-data/systems/mugetsu/fs/root mnt/kyuuto-data/systems/mugetsu/fs/root none bind,optional,create=dir",
|
||||
"/mnt/kyuuto-data/systems/mugetsu/fs/boot mnt/kyuuto-data/systems/mugetsu/fs/boot none bind,optional,create=dir",
|
||||
"/mnt/kyuuto-data/systems/goliath mnt/kyuuto-data/systems/goliath none bind,optional,create=dir",
|
||||
"/mnt/kyuuto-data/systems/goliath/fs/root mnt/kyuuto-data/systems/goliath/fs/root none bind,optional,create=dir",
|
||||
"/mnt/kyuuto-data/systems/goliath/fs/boot mnt/kyuuto-data/systems/goliath/fs/boot none bind,optional,create=dir",
|
||||
"/dev/net/tun dev/net/tun none bind,optional,create=file"
|
||||
],
|
||||
"lxc.cgroup2.devices.allow": [
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ chmod 0775 /mnt/kyuuto-data/minecraft/simplebackups
|
|||
|
||||
mkkyuuto data/systems 0 0 0775
|
||||
nfsystemroot=/mnt/kyuuto-data/systems
|
||||
for nfsystem in gengetsu mugetsu; do
|
||||
for nfsystem in gengetsu mugetsu goliath; do
|
||||
mkkyuuto data/systems/$nfsystem 0 0 0750
|
||||
|
||||
if [[ ! -d $nfsystemroot/$nfsystem/fs ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue