>
> +is_diskless() {
> +    grep -q '/dev/mapper/live-rw /' /proc/mounts
> +}
> +
>

patch is ok, but this check needs to be improved: livecd image always has
that even when booted from a local disk (we keep compressed squashfs image
on HostVG/Root)
One way would be to check for root=*.iso parameter in kernel command line:
grep -q 'root=/[^ ]*\.iso' /proc/cmdline
_______________________________________________
Ovirt-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ovirt-devel

Reply via email to