projects
/
libremanage.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue command stub
[libremanage.git]
/
libremanage.py
diff --git
a/libremanage.py
b/libremanage.py
index 7a59af92da90526b7ebd63cad6765c50c0bd53c6..9bfacfceae9016cdfba93b6e415d7ead14ec2536 100644
(file)
--- a/
libremanage.py
+++ b/
libremanage.py
@@
-35,10
+35,12
@@
Valid commands are as follows:
- shutdown, reboot, poweron: Power management
"""
- shutdown, reboot, poweron: Power management
"""
-#sys.argv[1]
if len(sys.argv) != 3:
print("Incorrect number of arguments")
print(USAGE)
sys.exit(1)
if len(sys.argv) != 3:
print("Incorrect number of arguments")
print(USAGE)
sys.exit(1)
-print(len(sys.argv))
+def issue_command(server_name, command):
+ print(server_name, command)
+
+issue_command(sys.argv[1], sys.argv[2])