summaryrefslogtreecommitdiff
path: root/scripts/cxmanage
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cxmanage')
-rwxr-xr-xscripts/cxmanage9
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/cxmanage b/scripts/cxmanage
index d87bb41..c9e64f8 100755
--- a/scripts/cxmanage
+++ b/scripts/cxmanage
@@ -111,6 +111,10 @@ def build_parser():
help='Username for login')
parser.add_argument('-p', '--password', default='admin',
help='Password for login')
+ parser.add_argument('-U', '--linux-username', type=str, default='user1',
+ metavar='USER', help='Server-side Linux username')
+ parser.add_argument('-P', '--linux-password', type=str, default='1Password',
+ metavar='PASSWORD', help='Server-side Linux password')
parser.add_argument('-a', '--all-nodes', action='store_true',
help='Send command to all nodes reported by fabric')
parser.add_argument('--threads', type=int, metavar='THREAD_COUNT',
@@ -304,11 +308,6 @@ def build_parser():
help='discover server-side IP addresses')
ipdiscover.add_argument('-A', '--aggressive', action='store_true',
help='discover IPs aggressively')
- ipdiscover.add_argument('-U', '--server-user', type=str, default='user1',
- metavar='USER', help='Server-side Linux username')
- ipdiscover.add_argument('-P', '--server-password', type=str,
- default='1Password', metavar='PASSWORD',
- help='Server-side Linux password')
ipdiscover.add_argument('-6', '--ipv6', action='store_true',
help='Discover IPv6 addresses')
ipdiscover.add_argument('-I', '--interface', type=str, default=None,