Commit 7b3e7d41 authored by Michael Hanselmann's avatar Michael Hanselmann

Move gnt-cluster to ganeti.client.gnt_cluster

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent d75e738e
......@@ -67,5 +67,6 @@
/man/*.in
# scripts
/scripts/gnt-cluster
/scripts/gnt-debug
/scripts/gnt-os
......@@ -139,6 +139,7 @@ pkgpython_PYTHON = \
client_PYTHON = \
lib/client/__init__.py \
lib/client/gnt_cluster.py \
lib/client/gnt_debug.py \
lib/client/gnt_os.py
......@@ -257,6 +258,7 @@ gnt_scripts = \
scripts/gnt-os
PYTHON_BOOTSTRAP = \
scripts/gnt-cluster \
scripts/gnt-debug \
scripts/gnt-os
......@@ -267,7 +269,6 @@ dist_sbin_SCRIPTS = \
daemons/ganeti-confd \
daemons/ganeti-rapi \
scripts/gnt-backup \
scripts/gnt-cluster \
scripts/gnt-instance \
scripts/gnt-job \
scripts/gnt-node
......
#!/usr/bin/python
#
#
# Copyright (C) 2006, 2007, 2010 Google Inc.
......@@ -26,7 +26,6 @@
# W0614: Unused import %s from wildcard import (since we need cli)
# C0103: Invalid name gnt-cluster
import sys
import os.path
import time
import OpenSSL
......@@ -964,6 +963,6 @@ aliases = {
}
if __name__ == '__main__':
sys.exit(GenericMain(commands, override={"tag_type": constants.TAG_CLUSTER},
aliases=aliases))
def Main():
return GenericMain(commands, override={"tag_type": constants.TAG_CLUSTER},
aliases=aliases)
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