setup/clone/clone.conf

27 lines
800 B
Bash
Executable File

#!/bin/sh
# DEBIAN IMAGE FILE
export IMAGE_FILE="original.img";
export IMAGE_GZIP="0";
# WIFI SETTINGS
export WIFI_SSID="freeboxma";
export WIFI_PASS=" manon adrien ";
# SERVER SETTINGS
export SERVER_HOSTNAME="xdrm.io";
export SERVER_USERNAME="satsd";
# DEFAULT SATS SETTINGS
export MACHINE_BRANCH="1.0";
export MACHINE_STATE="STOP";
export API_URL="http://logauth-local/api/machineDefault";
export MACHINE_SECRET=$(tr -dc A-Za-z0-9_ < /dev/urandom | head -c 250);
export NEXT_SECRET=$(tr -dc A-Za-z0-9_ < /dev/urandom | head -c 250);
export UNLOCK_CODE=$(tr -dc a-f0-9 < /dev/urandom | head -c 128);
export WAREHOUSE_TOKEN="643405e1004845c2291c244faab192e3ad493b9dec147c8030475794b0f2fa23";
# IF RUN ON LOCAL
# will create an entry in /etc/hosts
export LOCAL_TEST="192.168.0.15 logauth-local";