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 @@ ...@@ -69,6 +69,7 @@
# scripts # scripts
/scripts/gnt-cluster /scripts/gnt-cluster
/scripts/gnt-debug /scripts/gnt-debug
/scripts/gnt-instance
/scripts/gnt-job /scripts/gnt-job
/scripts/gnt-node /scripts/gnt-node
/scripts/gnt-os /scripts/gnt-os
...@@ -141,6 +141,7 @@ client_PYTHON = \ ...@@ -141,6 +141,7 @@ client_PYTHON = \
lib/client/__init__.py \ lib/client/__init__.py \
lib/client/gnt_cluster.py \ lib/client/gnt_cluster.py \
lib/client/gnt_debug.py \ lib/client/gnt_debug.py \
lib/client/gnt_instance.py \
lib/client/gnt_job.py \ lib/client/gnt_job.py \
lib/client/gnt_node.py \ lib/client/gnt_node.py \
lib/client/gnt_os.py lib/client/gnt_os.py
...@@ -262,6 +263,7 @@ gnt_scripts = \ ...@@ -262,6 +263,7 @@ gnt_scripts = \
PYTHON_BOOTSTRAP = \ PYTHON_BOOTSTRAP = \
scripts/gnt-cluster \ scripts/gnt-cluster \
scripts/gnt-debug \ scripts/gnt-debug \
scripts/gnt-instance \
scripts/gnt-job \ scripts/gnt-job \
scripts/gnt-node \ scripts/gnt-node \
scripts/gnt-os scripts/gnt-os
...@@ -272,8 +274,7 @@ dist_sbin_SCRIPTS = \ ...@@ -272,8 +274,7 @@ dist_sbin_SCRIPTS = \
daemons/ganeti-masterd \ daemons/ganeti-masterd \
daemons/ganeti-confd \ daemons/ganeti-confd \
daemons/ganeti-rapi \ daemons/ganeti-rapi \
scripts/gnt-backup \ scripts/gnt-backup
scripts/gnt-instance
nodist_sbin_SCRIPTS = \ nodist_sbin_SCRIPTS = \
$(PYTHON_BOOTSTRAP) \ $(PYTHON_BOOTSTRAP) \
......
#!/usr/bin/python #
# #
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Google Inc. # Copyright (C) 2006, 2007, 2008, 2009, 2010 Google Inc.
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
# W0614: Unused import %s from wildcard import (since we need cli) # W0614: Unused import %s from wildcard import (since we need cli)
# C0103: Invalid name gnt-instance # C0103: Invalid name gnt-instance
import sys
import os import os
import itertools import itertools
import simplejson import simplejson
...@@ -1544,6 +1543,6 @@ aliases = { ...@@ -1544,6 +1543,6 @@ aliases = {
} }
if __name__ == '__main__': def Main():
sys.exit(GenericMain(commands, aliases=aliases, return GenericMain(commands, aliases=aliases,
override={"tag_type": constants.TAG_INSTANCE})) 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