Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
a499d81f
Commit
a499d81f
authored
Feb 20, 2019
by
xichengliudui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix shellcheck in test/image/...
update pull request
parent
4e8e3c2f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
.shellcheck_failures
hack/.shellcheck_failures
+0
-2
mon.sh
test/images/volume/rbd/mon.sh
+1
-1
osd.sh
test/images/volume/rbd/osd.sh
+4
-4
No files found.
hack/.shellcheck_failures
View file @
a499d81f
...
...
@@ -122,8 +122,6 @@
./test/images/volume/nfs/run_nfs.sh
./test/images/volume/rbd/bootstrap.sh
./test/images/volume/rbd/create_block.sh
./test/images/volume/rbd/mon.sh
./test/images/volume/rbd/osd.sh
./third_party/forked/shell2junit/sh2ju.sh
./third_party/intemp/intemp.sh
./third_party/multiarch/qemu-user-static/register/qemu-binfmt-conf.sh
...
...
test/images/volume/rbd/mon.sh
View file @
a499d81f
...
...
@@ -19,7 +19,7 @@
#
# monitor setup
monmaptool
--create
--clobber
--fsid
`
uuidgen
`
--add
a
$1
:6789 /etc/ceph/monmap
monmaptool
--create
--clobber
--fsid
"
$(
uuidgen
)
"
--add
a
"
${
1
}
"
:6789 /etc/ceph/monmap
mkdir
/var/lib/ceph/mon/ceph-a
ceph-mon
-i
a
--mkfs
--monmap
/etc/ceph/monmap
-k
/var/lib/ceph/mon/keyring
cp
/var/lib/ceph/mon/keyring /var/lib/ceph/mon/ceph-a
...
...
test/images/volume/rbd/osd.sh
View file @
a499d81f
...
...
@@ -19,7 +19,7 @@
#
ceph osd create
ceph-osd
-i
$1
--mkfs
--mkkey
ceph auth add
osd.
$1
osd
'allow *'
mon
'allow rwx'
-i
/var/lib/ceph/osd/ceph-
$1
/keyring
ceph osd crush add
$1
1
root
=
default
host
=
cephbox
ceph-osd
-i
$1
-k
/var/lib/ceph/osd/ceph-
$1
/keyring
ceph-osd
-i
"
${
1
}
"
--mkfs
--mkkey
ceph auth add
"osd.
${
1
}
"
osd
'allow *'
mon
'allow rwx'
-i
"/var/lib/ceph/osd/ceph-
${
1
}
/keyring"
ceph osd crush add
"
${
1
}
"
1
root
=
default
host
=
cephbox
ceph-osd
-i
"
${
1
}
"
-k
"/var/lib/ceph/osd/ceph-
${
1
}
/keyring"
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