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
Boxiang Sun
slapos.package
Commits
43c79c47
Commit
43c79c47
authored
Jul 31, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-cygwin-bootstrip: add another computer certificate/key for test node
parent
97d95678
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
windows/scripts/slapos-cygwin-bootstrip.sh
windows/scripts/slapos-cygwin-bootstrip.sh
+9
-0
No files found.
windows/scripts/slapos-cygwin-bootstrip.sh
View file @
43c79c47
...
@@ -28,6 +28,12 @@ function show_usage()
...
@@ -28,6 +28,12 @@ function show_usage()
echo
""
echo
""
echo
"save them in your home path."
echo
"save them in your home path."
echo
""
echo
""
echo
"Register another computer for test node, save them in the root path"
echo
""
echo
" test-computer.key"
echo
" test-computer.crt"
echo
""
echo
""
}
}
readonly
-f
show_usage
readonly
-f
show_usage
...
@@ -207,6 +213,9 @@ csih_inform "Starting configure slapos client and node ..."
...
@@ -207,6 +213,9 @@ csih_inform "Starting configure slapos client and node ..."
for
_name
in
certificate key computer.key computer.crt
;
do
for
_name
in
certificate key computer.key computer.crt
;
do
[[
-f
~/
${
_name
}
]]
||
csih_error
"missing file ~/
${
_name
}
"
[[
-f
~/
${
_name
}
]]
||
csih_error
"missing file ~/
${
_name
}
"
done
done
for
_name
in
/test-computer.key /test-computer.crt
;
do
[[
-f
${
_name
}
]]
||
csih_error
"missing file
${
_name
}
"
done
csih_inform
"mkdir /etc/opt/slapos/ssl/partition_pki"
csih_inform
"mkdir /etc/opt/slapos/ssl/partition_pki"
mkdir
-p
/etc/opt/slapos/ssl/partition_pki
mkdir
-p
/etc/opt/slapos/ssl/partition_pki
...
...
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