#!/bin/bash

# Copyright (c) 2022 Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at
# http://oss.oracle.com/licenses/upl.

# utility to collect metadata of an iscsi volume.

_PY3=/usr/bin/python3.6
_PY_CMD=oci_volume_data.py
s_dir=`${_PY3} -c 'import os.path ; import oci_utils.impl ; print (os.path.dirname(oci_utils.impl.__file__))' 2>/dev/null`

exec ${_PY3}  ${s_dir}/${_PY_CMD} "$@"

