Skip to content

Commit c62b2d5

Browse files
author
Aaron Davis
committed
Fixed display of Plugging VBD message.
Message had incorrect order so echo $device did not yet have device assigned. Signed-off-by: Aaron Davis <[email protected]>
1 parent 0e1e104 commit c62b2d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/xe-edit-bootloader

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,10 @@ fi
179179

180180
echo -n "Plugging VBD: "
181181
${XE} vbd-plug uuid=${vbd_uuid}
182-
echo ${device}
183182

184183
device=/dev/$(${XE} vbd-param-get uuid=${vbd_uuid} param-name=device)
184+
echo ${device}
185+
185186

186187
if [ ! -b ${device} ]; then
187188
echo ${device}: not a block special

0 commit comments

Comments
 (0)