dataset/seed/base-machine/manual/install/config_machine.sh

16 lines
764 B
Bash
Raw Permalink Normal View History

2022-03-08 19:42:28 +01:00
# machine configuration
MACHINE_RISOTTO_SRV_DIR_LOCAL="srv/$MACHINE"
MACHINE_RISOTTO_SRV_DIR="$RISOTTO_SRV_DIR/$MACHINE"
2022-04-28 21:48:16 +02:00
RISOTTO_JOURNALD_DIR="$RISOTTO_DIR/journals/$MACHINE"
2022-03-08 19:42:28 +01:00
MACHINE_RISOTTO_CONFIG_DIR_LOCAL="$IMAGE_NAME/configurations/$MACHINE"
MACHINE_RISOTTO_CONFIG_DIR="$RISOTTO_CONFIG_DIR/$MACHINE"
MACHINE_MACHINES_DIR="$MACHINES_DIR/$MACHINE"
HOST_DIR="host/configurations/$HOST_NAME"
MACHINE_NAME_NSPAWN="/etc/systemd/nspawn/$MACHINE.nspawn"
MACHINE_NAME_NSPAWN_LOCAL="$HOST_DIR$MACHINE_NAME_NSPAWN"
MACHINE_NAME_SCRIPT="/usr/local/lib/sbin/network-$MACHINE"
MACHINE_NAME_SCRIPT_LOCAL="$HOST_DIR$MACHINE_NAME_SCRIPT"
#MACHINE_MACHINE_LOCK="$MACHINES_DIR/.#$MACHINE.lck"
SHA_MACHINE_DIR="$RISOTTO_CONFIG_DIR/sha"
SHA_MACHINE="$SHA_MACHINE_DIR/$MACHINE".sha