Commit 47185d80 by Oliver Pinter

whaaaaaaaaaaaaaa....

parent 3ec1de18
...@@ -53,7 +53,7 @@ mount_template_freebsd = ( ...@@ -53,7 +53,7 @@ mount_template_freebsd = (
NSMBRC = '/etc/nsmb.conf' NSMBRC = '/etc/nsmb.conf'
nsmbrc_template_freebsd = ( nsmbrc_template_freebsd = (
'[CLOUD:%(username)s]\n' '[CLOUD:%(USERNAME)s]\n'
'addr=%(host)s\n' 'addr=%(host)s\n'
'password=%(password)s\n') 'password=%(password)s\n')
...@@ -117,7 +117,7 @@ class Context(BaseContext): ...@@ -117,7 +117,7 @@ class Context(BaseContext):
@staticmethod @staticmethod
def mount_store(host, username, password): def mount_store(host, username, password):
data = {'host': host, 'username': username, 'password': password} data = {'host': host, 'username': username, 'password': password, 'USERNAME' : username.upper()}
data['dir'] = STORE_DIR data['dir'] = STORE_DIR
if not exists(STORE_DIR): if not exists(STORE_DIR):
mkdir(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