Query os-refresh-config for the base dir
This commit is contained in:
parent
2685778f62
commit
82a7fba811
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cat > /opt/stack/os-config-refresh/environment.d/10-tuskar-role-directory <<EOF
|
basedir=$(os-refresh-config --print-base)
|
||||||
|
mkdir $basedir/environment.d
|
||||||
|
cat > $basedir/environment.d/10-tuskar-role-directory <<EOF
|
||||||
export TUSKAR_ROLE_DIRECTORY=$TUSKAR_ROLE_DIRECTORY
|
export TUSKAR_ROLE_DIRECTORY=$TUSKAR_ROLE_DIRECTORY
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user