We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6149bff + 1c104bb commit 24387ceCopy full SHA for 24387ce
modules/move-etcd-different-disk.adoc
@@ -65,11 +65,11 @@ Note the device name of the new disk reported by the `lsblk` command.
65
set -uo pipefail
66
67
for device in <device_type_glob>; do # <1>
68
-/usr/sbin/blkid $device &> /dev/null
+/usr/sbin/blkid "${device}" &> /dev/null
69
if [ $? == 2 ]; then
70
- echo "secondary device found $device"
+ echo "secondary device found ${device}"
71
echo "creating filesystem for etcd mount"
72
- mkfs.xfs -L var-lib-etcd -f $device &> /dev/null
+ mkfs.xfs -L var-lib-etcd -f "${device}" &> /dev/null
73
udevadm settle
74
touch /etc/var-lib-etcd-mount
75
exit
0 commit comments