1
0
Fork 0

Add configuration file

This commit is contained in:
Braiden Vasco 2018-03-24 01:37:29 +00:00
parent 51b29aa7aa
commit 5cc4429814
No known key found for this signature in database
GPG Key ID: 2F87CADA171E2424
2 changed files with 6 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,5 +1,7 @@
/deploy/
/rootfs/
/config.sh
.pc
*-pc

4
run
View File

@ -8,6 +8,10 @@ export IMG_NAME='BarnacleOS'
export USERNAME='user'
export PASSWORD='password'
if [ -f "$BASE_DIR/config.sh" ]; then
source "$BASE_DIR/config.sh"
fi
export DEPLOY_DIR="$BASE_DIR/deploy"
export ROOTFS_DIR="$BASE_DIR/rootfs"
export KEYS_DIR="$BASE_DIR/keys"