+ # Need to extract actual ISO file path later on,
+ # initialize first.
+ iso_name="${FROMISO}"
+
+ if [ '0' -ne "${fs_type_auto}" ]; then
+ # Try to auto-detect file system if not
+ # explicitly provided.
+ fs_type=$(get_fstype "${ISO_DEVICE}")
+ else
+ # Delete file system type override.
+ iso_name="${iso_name#*:}"
+ fi
+ # At this point, the backing device should always be
+ # at the very front, so remove that - leaving only the
+ # ISO file path.
+ iso_name="$(echo "${iso_name}" | sed "s|^${ISO_DEVICE}||")"