diff options
Diffstat (limited to 'deploy/get_para_from_deploy.py')
-rwxr-xr-x | deploy/get_para_from_deploy.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/deploy/get_para_from_deploy.py b/deploy/get_para_from_deploy.py index c0e08c56..d142af3a 100755 --- a/deploy/get_para_from_deploy.py +++ b/deploy/get_para_from_deploy.py @@ -41,12 +41,10 @@ def get_conf_from_deploy(): parse(conf, sys.argv[1:]) daisyserver_size, controller_node_size, compute_node_size,\ daisy_passwd, daisy_ip, daisy_gateway = get_yml_para(conf['dha']) - print daisyserver_size - print controller_node_size - print compute_node_size - print daisy_passwd - print daisy_ip - print daisy_gateway + print "{ip} {passwd} -s {size} -g {gateway}".format(passwd=daisy_passwd, + size=daisyserver_size, + ip=daisy_ip, + gateway=daisy_gateway) if __name__ == "__main__": get_conf_from_deploy() |