sovereign-stack/env

23 lines
619 B
Plaintext
Raw Normal View History

2021-12-25 18:43:01 +00:00
#!/bin/bash
###########
# ######
export DEV_MEMORY_MB="4096"
export DEV_CPU_COUNT="4"
export DEV_WWW_MAC_ADDRESS="00:16:3E:AD:25:2C"
export DEV_BTCPAY_MAC_ADDRESS="00:16:3E:AD:25:2D"
LXD_DISK_TO_USE=
if [ "$(lxc remote get-default)" = "antsle" ]; then
DEV_MACVLAN_INTERFACE="eno3"
LXD_DISK_TO_USE="/dev/sda"
elif [ "$(lxc remote get-default)" = "local" ]; then
DEV_MACVLAN_INTERFACE="enp5s0"
fi
export DEV_MACVLAN_INTERFACE="$DEV_MACVLAN_INTERFACE"
export DEV_WWW_MAC_ADDRESS="$DEV_WWW_MAC_ADDRESS"
export DEV_BTCPAY_MAC_ADDRESS="$DEV_BTCPAY_MAC_ADDRESS"
export LXD_DISK_TO_USE="$LXD_DISK_TO_USE"
######