dataset/seed/applicationservice/2022.03.08/base-machine/manual/install/config_machine.sh
2022-06-29 11:48:16 +02:00

15 lines
764 B
Bash

# machine configuration
MACHINE_RISOTTO_SRV_DIR_LOCAL="srv/$MACHINE"
MACHINE_RISOTTO_SRV_DIR="$RISOTTO_SRV_DIR/$MACHINE"
RISOTTO_JOURNALD_DIR="$RISOTTO_DIR/journals/$MACHINE"
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