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/
|
||||
/rootfs/
|
||||
|
||||
/config.sh
|
||||
|
||||
.pc
|
||||
*-pc
|
||||
|
|
4
run
4
run
|
@ -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"
|
||||
|
|
Reference in a new issue