Commit 02266fe0 authored by Michael Hanselmann's avatar Michael Hanselmann

Move gnt-backup to ganeti.client.gnt_backup

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent e792102d
......@@ -67,6 +67,7 @@
/man/*.in
# scripts
/scripts/gnt-backup
/scripts/gnt-cluster
/scripts/gnt-debug
/scripts/gnt-instance
......
......@@ -139,6 +139,7 @@ pkgpython_PYTHON = \
client_PYTHON = \
lib/client/__init__.py \
lib/client/gnt_backup.py \
lib/client/gnt_cluster.py \
lib/client/gnt_debug.py \
lib/client/gnt_instance.py \
......@@ -261,6 +262,7 @@ gnt_scripts = \
scripts/gnt-os
PYTHON_BOOTSTRAP = \
scripts/gnt-backup \
scripts/gnt-cluster \
scripts/gnt-debug \
scripts/gnt-instance \
......@@ -273,8 +275,7 @@ dist_sbin_SCRIPTS = \
daemons/ganeti-watcher \
daemons/ganeti-masterd \
daemons/ganeti-confd \
daemons/ganeti-rapi \
scripts/gnt-backup
daemons/ganeti-rapi
nodist_sbin_SCRIPTS = \
$(PYTHON_BOOTSTRAP) \
......
#!/usr/bin/python
#
#
# Copyright (C) 2006, 2007, 2010 Google Inc.
......@@ -26,8 +26,6 @@
# W0614: Unused import %s from wildcard import (since we need cli)
# C0103: Invalid name gnt-backup
import sys
from ganeti.cli import *
from ganeti import opcodes
from ganeti import constants
......@@ -163,5 +161,5 @@ commands = {
}
if __name__ == '__main__':
sys.exit(GenericMain(commands))
def Main():
return GenericMain(commands)
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