Commit 37494fa4 authored by Michael Hanselmann's avatar Michael Hanselmann

Move gnt-node to ganeti.client.gnt_node

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 7b3e7d41
...@@ -69,4 +69,5 @@ ...@@ -69,4 +69,5 @@
# scripts # scripts
/scripts/gnt-cluster /scripts/gnt-cluster
/scripts/gnt-debug /scripts/gnt-debug
/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_node.py \
lib/client/gnt_os.py lib/client/gnt_os.py
hypervisor_PYTHON = \ hypervisor_PYTHON = \
...@@ -260,6 +261,7 @@ gnt_scripts = \ ...@@ -260,6 +261,7 @@ gnt_scripts = \
PYTHON_BOOTSTRAP = \ PYTHON_BOOTSTRAP = \
scripts/gnt-cluster \ scripts/gnt-cluster \
scripts/gnt-debug \ scripts/gnt-debug \
scripts/gnt-node \
scripts/gnt-os scripts/gnt-os
dist_sbin_SCRIPTS = \ dist_sbin_SCRIPTS = \
...@@ -270,8 +272,7 @@ dist_sbin_SCRIPTS = \ ...@@ -270,8 +272,7 @@ dist_sbin_SCRIPTS = \
daemons/ganeti-rapi \ daemons/ganeti-rapi \
scripts/gnt-backup \ scripts/gnt-backup \
scripts/gnt-instance \ scripts/gnt-instance \
scripts/gnt-job \ scripts/gnt-job
scripts/gnt-node
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.
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,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-node # C0103: Invalid name gnt-node
import sys
from ganeti.cli import * from ganeti.cli import *
from ganeti import bootstrap from ganeti import bootstrap
from ganeti import opcodes from ganeti import opcodes
...@@ -760,5 +758,5 @@ commands = { ...@@ -760,5 +758,5 @@ commands = {
} }
if __name__ == '__main__': def Main():
sys.exit(GenericMain(commands, override={"tag_type": constants.TAG_NODE})) return GenericMain(commands, override={"tag_type": constants.TAG_NODE})
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