28 lines
888 B
Bash
Executable File
28 lines
888 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_ID="127";
|
|
export MACHINE_BRANCH="1.0";
|
|
export MACHINE_STATE="000";
|
|
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="52131065a906de90e26da0732e58400edd6739cfa03fc658e7593abef4a4504e18e66e1a8fe9da374a8e8f753603463e4777789262b3ee945d4bf72dd8d6399c";
|
|
|
|
# IF RUN ON LOCAL
|
|
# will create an entry in /etc/hosts
|
|
export LOCAL_TEST="192.168.0.15 logauth-local";
|