Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Artifacts to Bootstrap
[aaf/authz.git]
/
auth
/
docker
/
aaf.sh
diff --git
a/auth/docker/aaf.sh
b/auth/docker/aaf.sh
index
5757051
..
7301c50
100644
(file)
--- a/
auth/docker/aaf.sh
+++ b/
auth/docker/aaf.sh
@@
-4,9
+4,10
@@
if [ -e ./cass.props ]; then
. ./cass.props
fi
. ./cass.props
fi
+DOCKER=${DOCKER:=docker}
function run_it() {
function run_it() {
-
docker
run $@ \
- -
-mount 'type=volume,src=aaf_config,dst='$CONF_ROOT_DIR',volume-driver=local'
\
+
$DOCKER
run $@ \
+ -
v "aaf_config:$CONF_ROOT_DIR"
\
--add-host="$HOSTNAME:$HOST_IP" \
--add-host="aaf.osaaf.org:$HOST_IP" \
--env HOSTNAME=${HOSTNAME} \
--add-host="$HOSTNAME:$HOST_IP" \
--add-host="aaf.osaaf.org:$HOST_IP" \
--env HOSTNAME=${HOSTNAME} \
@@
-25,15
+26,15
@@
function run_it() {
}
function set_prop() {
}
function set_prop() {
-
docker
exec -t aaf_config_$USER /bin/bash /opt/app/aaf_config/bin/agent.sh NOOP setProp "$1" "$2" "$3"
+
$DOCKER
exec -t aaf_config_$USER /bin/bash /opt/app/aaf_config/bin/agent.sh NOOP setProp "$1" "$2" "$3"
}
function encrypt_it() {
}
function encrypt_it() {
-
docker
exec -t aaf_config_$USER /bin/bash /opt/app/aaf_config/bin/agent.sh NOOP encrypt "$1" "$2"
+
$DOCKER
exec -t aaf_config_$USER /bin/bash /opt/app/aaf_config/bin/agent.sh NOOP encrypt "$1" "$2"
}
function set_it() {
}
function set_it() {
-
docker
exec -t aaf_config_$USER /bin/bash /opt/app/aaf_config/bin/agent.sh NOOP setProp "$1" "$2"
+
$DOCKER
exec -t aaf_config_$USER /bin/bash /opt/app/aaf_config/bin/agent.sh NOOP setProp "$1" "$2"
}
PARAMS="$@"
}
PARAMS="$@"