test/TEST-13-ENC-RAID-LVM/create-root.sh: wait before disassembling lvm
authorHarald Hoyer <harald@redhat.com>
Thu, 11 Aug 2011 08:47:34 +0000 (10:47 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 11 Aug 2011 08:49:10 +0000 (10:49 +0200)
test/TEST-13-ENC-RAID-LVM/create-root.sh

index dab03a0..6612a12 100755 (executable)
@@ -33,7 +33,9 @@ mkdir -p /sysroot && \
 mount /dev/dracut/root /sysroot && \
 cp -a -t /sysroot /source/* && \
 umount /sysroot && \
+sleep 2 && \
 lvm lvchange -a n /dev/dracut/root && \
+sleep 2 && \
 lvm vgchange -a n dracut && \
 {
 lvm vgdisplay  && \