diff --git a/lib/vm-cmd b/lib/vm-cmd index 988d19c0..0e0ceaec 100644 --- a/lib/vm-cmd +++ b/lib/vm-cmd @@ -165,7 +165,7 @@ cmd::parse_image(){ [ -z "${VM_ZFS}" ] && util::err "\$vm_dir must be a ZFS datastore to use these functions" # try to find a matching command - cmd::find "_cmd" "$1" "create,list,destroy,add,remove,vlan,nat,address,private,info" + cmd::find "_cmd" "$1" "list,create,provision,destroy" [ $? -ne 0 ] && util::usage # remove parsed command diff --git a/vm b/vm index 0e7812e9..b2e17563 100644 --- a/vm +++ b/vm @@ -24,8 +24,8 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. -VERSION=1.2 -VERSION_INT=102070 +VERSION=1.2-p3 +VERSION_INT=102071 VERSION_BSD=$(uname -K) PATH=${PATH}:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin