Commit e792102d authored by Michael Hanselmann's avatar Michael Hanselmann

Move gnt-instance to ganeti.client.gnt_instance

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent a09b9e3d
......@@ -69,6 +69,7 @@
# scripts
/scripts/gnt-cluster
/scripts/gnt-debug
/scripts/gnt-instance
/scripts/gnt-job
/scripts/gnt-node
/scripts/gnt-os
......@@ -141,6 +141,7 @@ client_PYTHON = \
lib/client/__init__.py \
lib/client/gnt_cluster.py \
lib/client/gnt_debug.py \
lib/client/gnt_instance.py \
lib/client/gnt_job.py \
lib/client/gnt_node.py \
lib/client/gnt_os.py
......@@ -262,6 +263,7 @@ gnt_scripts = \
PYTHON_BOOTSTRAP = \
scripts/gnt-cluster \
scripts/gnt-debug \
scripts/gnt-instance \
scripts/gnt-job \
scripts/gnt-node \
scripts/gnt-os
......@@ -272,8 +274,7 @@ dist_sbin_SCRIPTS = \
daemons/ganeti-masterd \
daemons/ganeti-confd \
daemons/ganeti-rapi \
scripts/gnt-backup \
scripts/gnt-instance
scripts/gnt-backup
nodist_sbin_SCRIPTS = \
$(PYTHON_BOOTSTRAP) \
......
#!/usr/bin/python
#
#
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Google Inc.
......@@ -25,7 +25,6 @@
# W0614: Unused import %s from wildcard import (since we need cli)
# C0103: Invalid name gnt-instance
import sys
import os
import itertools
import simplejson
......@@ -1544,6 +1543,6 @@ aliases = {
}
if __name__ == '__main__':
sys.exit(GenericMain(commands, aliases=aliases,
override={"tag_type": constants.TAG_INSTANCE}))
def Main():
return GenericMain(commands, aliases=aliases,
override={"tag_type": constants.TAG_INSTANCE})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment