Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kasra Jamshidi
slapos.package
Commits
80a6abce
Commit
80a6abce
authored
May 07, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transfer window path to posix path
parent
23a7d2a2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
windows/scripts/slapos-client-config.sh
windows/scripts/slapos-client-config.sh
+2
-0
windows/scripts/slapos-node-config.sh
windows/scripts/slapos-node-config.sh
+2
-0
No files found.
windows/scripts/slapos-client-config.sh
View file @
80a6abce
...
...
@@ -45,6 +45,7 @@ elif [[ ! -f $client_certificate_file ]] ; then
[[
!
-f
"
$certificate_file
"
]]
&&
\
show_error_exit
"Certificate file
$certificate_file
doesn't exists."
echo
"Copy certificate from
$certificate_file
to
$client_certificate_file
"
certificate_file
=
$(
cygpath
-u
$certificate_file
)
cp
$certificate_file
$client_certificate_file
fi
...
...
@@ -56,6 +57,7 @@ elif [[ ! -f $client_key_file ]] ; then
[[
!
-f
"
$key_file
"
]]
&&
\
show_error_exit
"Key file
$key_file
doesn't exists."
echo
"Copy key from
$key_file
to
$client_key_file
"
key_file
=
$(
cygpath
-u
$key_file
)
cp
$key_file
$client_key_file
fi
...
...
windows/scripts/slapos-node-config.sh
View file @
80a6abce
...
...
@@ -148,6 +148,7 @@ elif [[ ! -f $node_certificate_file ]] ; then
[[
!
-f
"
$certificate_file
"
]]
&&
\
show_error_exit
"Certificate file
$certificate_file
doesn't exists."
echo
"Copy certificate from
$certificate_file
to
$node_certificate_file
"
certificate_file
=
$(
cygpath
-u
$certificate_file
)
cp
$certificate_file
$node_certificate_file
fi
...
...
@@ -159,6 +160,7 @@ elif [[ ! -f $node_key_file ]] ; then
[[
!
-f
"
$key_file
"
]]
&&
\
show_error_exit
"Key file
$key_file
doesn't exists."
echo
"Copy key from
$key_file
to
$node_key_file
"
key_file
=
$(
cygpath
-u
$key_file
)
cp
$key_file
$node_key_file
fi
...
...
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