Hi, thanks for looking at this, it didn't fix my problem, though.
findCommand in /etc/xen/scripts/xen-script-common.sh in ubuntu seems to
be saying command = $arg if $arg has an '=' in it.
findCommand()
{
for arg in "$@"
do
case "$arg" in
?*=*)
command="$arg"
return
;;
esac
done
}
findCommand from xensource seems to be saying command = $arg if $arg /doesn't/
have an '=' in it
findCommand()
{
for arg in "$@"
do
if ! expr 'index' "$arg" '=' >/dev/null
then
command="$arg"
return
fi
done
}
/etc/xen/scripts/block also has problems, it opens a case, opens a for, opens
another for, opens an if, close the case, closes the for and closes the other
for.
I haven't looked in to it, but the script from xensource works OK for me.
case "$f" in
*\**)
found=""
for dom in $(xenstore-list "$XENBUS_BASE_PATH")
do
for domdev in $(xenstore-list "$XENBUS_BASE_PATH/$dom")
do
d=$(xenstore_read_default \
"$XENBUS_BASE_PATH/$dom/$domdev/node" "")
if [ "$d" == "$dev" ]
then
f=$(xenstore_read "$XENBUS_BASE_PATH/$dom/$domdev/params")
found=1
break 2
;;
esac
done
done
--
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
https://launchpad.net/bugs/58076
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs