setup/clone/clone.conf

29 lines
914 B
Bash
Executable File

#!/bin/sh
# DEBIAN IMAGE FILE
export IMAGE_FILE="original.img";
export IMAGE_GZIP="0";
# WIFI SETTINGS
export WIFI_SSID="SATS_AP1";
export WIFI_PASS="SATS_PASS";
# SERVER SETTINGS
export SERVER_HOSTNAME="xdrm.io";
export SERVER_USERNAME="satsd";
# DEFAULT SATS SETTINGS
export MACHINE_ID="127";
export MACHINE_BRANCH="1.0";
export MACHINE_STATE="000";
export API_URL="https://logauth.xdrm.io/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="52131065a906de90e26da0732e58400edd6739cfa03fc658e7593abef4a4504e18e66e1a8fe9da374a8e8f753603463e4777789262b3ee945d4bf72dd8d6399c";
# FOR TESTING ONLY - IF RUN ON LOCAL
# will create an entry in /etc/hosts to user local SMMP
export LOCAL_TEST="10.0.1.4 logauth";