Commit e44ac1f5 authored by pavan kumar.siligam's avatar pavan kumar.siligam

corrected typo netrc entry

parent 0eaef195
......@@ -53,8 +53,8 @@ def _create_netrc(username=None, password=None, skip_header=True):
username = username or getpass.getuser()
userhome = os.environ.get('HOME')
password = password or getpass.unix_getpass()
header = "# machine <mname> username <uname> password <password>"
entry_fmt = "machine {0} username {1} password {2}"
header = "# machine <machine name> login <user name> password <password>"
entry_fmt = "machine {0} login {1} password {2}"
entry = entry_fmt.format(HOST, username, password)
if skip_header:
entries = "\n".join((entry, ''))
......
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