mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #74591 from xichengliudui/fixgolint190226
fix shellcheck in test/image/...
This commit is contained in:
		@@ -122,8 +122,6 @@
 | 
				
			|||||||
./test/images/volume/nfs/run_nfs.sh
 | 
					./test/images/volume/nfs/run_nfs.sh
 | 
				
			||||||
./test/images/volume/rbd/bootstrap.sh
 | 
					./test/images/volume/rbd/bootstrap.sh
 | 
				
			||||||
./test/images/volume/rbd/create_block.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/forked/shell2junit/sh2ju.sh
 | 
				
			||||||
./third_party/intemp/intemp.sh
 | 
					./third_party/intemp/intemp.sh
 | 
				
			||||||
./third_party/multiarch/qemu-user-static/register/qemu-binfmt-conf.sh
 | 
					./third_party/multiarch/qemu-user-static/register/qemu-binfmt-conf.sh
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,7 +19,7 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# monitor setup
 | 
					# 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
 | 
					mkdir /var/lib/ceph/mon/ceph-a
 | 
				
			||||||
ceph-mon -i a --mkfs --monmap /etc/ceph/monmap -k /var/lib/ceph/mon/keyring
 | 
					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
 | 
					cp /var/lib/ceph/mon/keyring /var/lib/ceph/mon/ceph-a
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,7 +19,7 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ceph osd create
 | 
					ceph osd create
 | 
				
			||||||
ceph-osd -i $1 --mkfs --mkkey
 | 
					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 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 crush add "${1}" 1 root=default host=cephbox
 | 
				
			||||||
ceph-osd -i $1 -k /var/lib/ceph/osd/ceph-$1/keyring
 | 
					ceph-osd -i "${1}" -k "/var/lib/ceph/osd/ceph-${1}/keyring"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user