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

[Xen-users] network-script don't start on boot


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Lucas Mocellin" <lucasmocellin@xxxxxxxxx>
  • Date: Sun, 3 Aug 2008 15:45:58 -0300
  • Delivery-date: Sun, 03 Aug 2008 11:46:38 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=muOCLEPYO/vyqFcE9iNaC/gwvmhbmlNZwPDhXQfIxToz4X8+pHZJZHayv6mhRveicg oCUhz2yqAIQ+QKvFlWmA+wZ4NReUIhSKpE2onqwT8tfLrv9sj+pjvUAUQJ2Pud/iG2gC 2HoRe3i0oijHQFpHBWMkFqdGU7wYG8C0WVOak=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I'm having trouble with the network-script.

I have 2 networks and I did a script to bridge both.
-rwxr-xr-x 1 root root  520 2008-08-03 15:28 network-bridge-eth0-eth1
cat network-bridge-eth0-eth1
# !/bin/sh
# network-xen-multi-bridge
# Exit if anything goes wrong
set -e

dir=$(dirname "$0")

# First arg is operation.
#shift
case $1 in
start)
        "$dir/network-bridge" "$@" netdev=eth0
        "$dir/network-bridge" "$@" netdev=eth1
        ;;
stop)
        #"$dir/network-bridge" "$@" bridge=peth0 netdev=eth0
        "$dir/network-bridge" "$@" netdev=eth1
        ;;
status)
        "$dir/network-bridge" "$@"
        ;;
*)
        echo 'Unknown command: ' ${OP}
        echo 'Valid commands are: start, stop, status'
        exit 1
        ;;
esac

If I start the script manually, all goes fine, but the script don't start at boot.

There is execution permission and are in xend-config.sxp

Anyboy has any idea?

thanks,

Lucas.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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