1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

F #2451 Extend dummy vnm to execute custom actions if any

This commit is contained in:
Daniel Clavijo Coca 2019-04-26 09:58:28 -05:00 committed by Ruben S. Montero
parent 7daebac852
commit 485ffe84cc
3 changed files with 15 additions and 3 deletions

View File

@ -16,4 +16,8 @@
# limitations under the License. #
#--------------------------------------------------------------------------- #
exit 0
stdin="$(</dev/stdin)"
for f in "$0".d/* ; do
[ -x "$f" ] || exit 0 && echo "$stdin" | ./"$f" "$@" || exit 1
done

View File

@ -16,4 +16,8 @@
# limitations under the License. #
#--------------------------------------------------------------------------- #
exit 0
stdin="$(</dev/stdin)"
for f in "$0".d/* ; do
[ -x "$f" ] || exit 0 && echo "$stdin" | ./"$f" "$@" || exit 1
done

View File

@ -16,4 +16,8 @@
# limitations under the License. #
#--------------------------------------------------------------------------- #
exit 0
stdin="$(</dev/stdin)"
for f in "$0".d/* ; do
[ -x "$f" ] || exit 0 && echo "$stdin" | ./"$f" "$@" || exit 1
done