Add configuration file
This commit is contained in:
parent
51b29aa7aa
commit
5cc4429814
2 changed files with 6 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,5 +1,7 @@
|
||||||
/deploy/
|
/deploy/
|
||||||
/rootfs/
|
/rootfs/
|
||||||
|
|
||||||
|
/config.sh
|
||||||
|
|
||||||
.pc
|
.pc
|
||||||
*-pc
|
*-pc
|
||||||
|
|
4
run
4
run
|
@ -8,6 +8,10 @@ export IMG_NAME='BarnacleOS'
|
||||||
export USERNAME='user'
|
export USERNAME='user'
|
||||||
export PASSWORD='password'
|
export PASSWORD='password'
|
||||||
|
|
||||||
|
if [ -f "$BASE_DIR/config.sh" ]; then
|
||||||
|
source "$BASE_DIR/config.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
export DEPLOY_DIR="$BASE_DIR/deploy"
|
export DEPLOY_DIR="$BASE_DIR/deploy"
|
||||||
export ROOTFS_DIR="$BASE_DIR/rootfs"
|
export ROOTFS_DIR="$BASE_DIR/rootfs"
|
||||||
export KEYS_DIR="$BASE_DIR/keys"
|
export KEYS_DIR="$BASE_DIR/keys"
|
||||||
|
|
Reference in a new issue