diff options
-rw-r--r-- | os-plugins/plugins/vmchooser/XX_vmchooser.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os-plugins/plugins/vmchooser/XX_vmchooser.sh b/os-plugins/plugins/vmchooser/XX_vmchooser.sh index 2a21357c..85362fd2 100644 --- a/os-plugins/plugins/vmchooser/XX_vmchooser.sh +++ b/os-plugins/plugins/vmchooser/XX_vmchooser.sh @@ -40,7 +40,7 @@ if [ -e $CONFFILE ]; then : #|| error "" nonfatal fi # mount a clean tempfs (bug in UnionFS prevents loopmount to work) - strinfile "unionfs" /proc/mounts && \ + grep -qE "unionfs |aufs " /proc/mounts && \ mount -n -o size=1500k -t tmpfs vm-loopimg /mnt/var/lib/virt/vmchooser/loopimg # create an empty floppy image of 1.4MByte size dd if=/dev/zero of=/mnt/var/lib/virt/vmchooser/loopimg/fd.img \ |