[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Add checks for iptables and iproute2 (Was Re: Coral with Xen)



The following two scripts add checks for iptables and iproute2 during install.

Not all distributions include these by default. I know this was a source of problems (with Gentoo) for me as the network scripts used by Xend silently fail if these commands aren't available.

It could be that Coral does not include one of these two packages by default.

Regards,
Anthony Liguori

Kero-Chan wrote:

Hi!

Coral isn't working from Xen. If you can please try it, maybe i'm just
doing something wrong. However it works from outside Xen with the same
setup.
Can Xen cause this kind of DNS errors?
Try something like: http://www.scs.cs.nyu.edu.nyud.net:8090/coral/
or http://www.google.com.nyud.net:8090/


#!/bin/bash
# CHECK-INSTALL

function error {
   echo 'Check for iproute2 failed.'
   exit 1
}

which ip || error
#!/bin/bash
# CHECK-INSTALL

function error {
   echo 'Check for the iptables failed.'
   exit 1
}

which iptables || error

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.