[elbe-devel] [PATCH 4/4] elbe: commands: use user and pass specified by configuration
Kurt Kanzenbach
kurt at linutronix.de
Mon Oct 30 09:47:28 CET 2017
Signed-off-by: Kurt Kanzenbach <kurt at linutronix.de>
---
elbepack/commands/control.py | 4 ++--
elbepack/commands/prjrepo.py | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/elbepack/commands/control.py b/elbepack/commands/control.py
index 1149d3ac..4f5abaa2 100755
--- a/elbepack/commands/control.py
+++ b/elbepack/commands/control.py
@@ -43,10 +43,10 @@ def run_command (argv):
oparser.add_option ("--port", dest="port", default=cfg['soapport'],
help="Port of soap itf on elbe-daemon.")
- oparser.add_option ("--pass", dest="passwd", default="foo",
+ oparser.add_option ("--pass", dest="passwd", default=cfg['elbepass'],
help="Password (default is foo).")
- oparser.add_option ("--user", dest="user", default="root",
+ oparser.add_option ("--user", dest="user", default=cfg['elbeuser'],
help="Username (default is root).")
oparser.add_option ("--retries", dest="retries", default="10",
diff --git a/elbepack/commands/prjrepo.py b/elbepack/commands/prjrepo.py
index dc99f076..a116d355 100755
--- a/elbepack/commands/prjrepo.py
+++ b/elbepack/commands/prjrepo.py
@@ -41,10 +41,10 @@ def run_command(argv):
oparser.add_option("--port", dest="port", default=cfg['soapport'],
help="Port of soap itf on elbe-daemon.")
- oparser.add_option("--pass", dest="passwd", default="foo",
+ oparser.add_option("--pass", dest="passwd", default=cfg['elbepass'],
help="Password (default is foo).")
- oparser.add_option("--user", dest="user", default="root",
+ oparser.add_option("--user", dest="user", default=cfg['elbeuser'],
help="Username (default is root).")
oparser.add_option(
--
2.11.0
More information about the elbe-devel
mailing list