Reputation: 1
I created recipes in chef solo with following command
bzr init
bzr branch sftp://username@ip/~/branch-name
up to bzr init
it will work but second command it requires password for username is there any method or option that i can use to send password with it or any way that does not require password
Upvotes: 0
Views: 95
Reputation: 5505
You can append the login info to ~/.bazaar/authentication.conf
eg.:
# Identity on foo.net
[foo.net]
scheme=ftp
host=foo.net
user=joe
password=secret-pass
See this for more info: http://doc.bazaar.canonical.com/developers/authentication-ring.html
Upvotes: 0
Reputation: 2450
You should be able to add the password to the URL:
bzr branch sftp://username:password@ip/~/branch-name
Upvotes: 2