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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
f28b66d3
authored
Jan 19, 2015
by
Oliver Pinter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
and finally it works...
parent
47185d80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
freebsd/_freebsdcontext.py
+5
-1
No files found.
freebsd/_freebsdcontext.py
View file @
f28b66d3
...
...
@@ -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
)
...
...
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