Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
7
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
47185d80
authored
Jan 19, 2015
by
Oliver Pinter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whaaaaaaaaaaaaaa....
parent
3ec1de18
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
freebsd/_freebsdcontext.py
+2
-2
No files found.
freebsd/_freebsdcontext.py
View file @
47185d80
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment