Skip to content

Commit 24387ce

Browse files
authored
Merge pull request #82944 from tmalove/etcd-migration-38912-tlove
OCPBUGS#38912: Add punctuation to a script for moving etcd to a different disk
2 parents 6149bff + 1c104bb commit 24387ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/move-etcd-different-disk.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ Note the device name of the new disk reported by the `lsblk` command.
6565
set -uo pipefail
6666

6767
for device in <device_type_glob>; do # <1>
68-
/usr/sbin/blkid $device &> /dev/null
68+
/usr/sbin/blkid "${device}" &> /dev/null
6969
if [ $? == 2 ]; then
70-
echo "secondary device found $device"
70+
echo "secondary device found ${device}"
7171
echo "creating filesystem for etcd mount"
72-
mkfs.xfs -L var-lib-etcd -f $device &> /dev/null
72+
mkfs.xfs -L var-lib-etcd -f "${device}" &> /dev/null
7373
udevadm settle
7474
touch /etc/var-lib-etcd-mount
7575
exit

0 commit comments

Comments
 (0)