Commit f28b66d3 by Oliver Pinter

and finally it works...

parent 47185d80
......@@ -55,6 +55,10 @@ NSMBRC = '/etc/nsmb.conf'
nsmbrc_template_freebsd = (
'[CLOUD:%(USERNAME)s]\n'
'addr=%(host)s\n'
'password=%(password)s\n'
'\n'
'[CLOUD]\n'
'addr=%(host)s\n'
'password=%(password)s\n')
class Context(BaseContext):
......@@ -117,7 +121,7 @@ class Context(BaseContext):
@staticmethod
def mount_store(host, username, password):
data = {'host': host, 'username': username, 'password': password, 'USERNAME' : username.upper()}
data = {'host': host, 'username': username, 'password': password, 'USERNAME' : username.upper()}
data['dir'] = STORE_DIR
if not exists(STORE_DIR):
mkdir(STORE_DIR)
......
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 sign in to comment