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

Re: [Xen-users] Using the script param of the vif config


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Pierre-Gildas MILLON <pg.millon@xxxxxxxxx>
  • Date: Wed, 18 May 2011 19:08:21 +0200
  • Delivery-date: Wed, 18 May 2011 10:09:54 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DIEnmVjn/e5xty9/QVwTeJJSPO6GtAeellsTKUFq4Rodv7PEiTJ0ylArip8MWT8KZy GwuAx9aZttn/OQdl6+J6h3VtWLcmHhN9f6qzPVNrGJhQ3DUDhgB1AqI1QR2JkfU5sqXQ LsPu7U/IaiDi8KqbJVJIggYOhE3wOHx+iF4rw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi Iain,

On a Debian 6 amd64 : 
- Xen 3.2.1
- kernel 2.6.32-5-xen

The only modifications I made :
http://www.cmdln.org/wp-content/uploads/2008/04/rinse-centos5.patch
And adding entries to the package list for a Centos5.
Nothing to do with my matter I think.

Many thanks for your time, hope you'll be able to help me :)

2011/5/18 Iain Kay <spam@xxxxxxxxxxx>
Hi Pierre,

Can you post what your Xen version is and what the version of your kernel is? Also have you applied any patches to either of these?

Iain

On 18 May 2011, at 15:58, Pierre-Gildas MILLON wrote:

Hello all,

I'm trying to use the script parameter of a vif.
This is my config:

xend-config.sxp :
(network-script network-route)
(vif-script     vif-route)

mydomain.cfg
#
#  Networking
#
vif         = [ 
                  'ip=192.168.1.5' 
              ]

Now I would like to setup a custom vif script just for this domain.
The docs says that I can do something like that :

mydomain.cfg
#
#  Networking
#
vif         = [ 
                  'ip=192.168.1.5,script="/etc/xen/scripts/myscript"' 
              ]

But before using any custom script, I can't get it to work using the default script.

mydomain.cfg
#
#  Networking
#
vif         = [ 
                  'ip=192.168.1.5,script="/etc/xen/scripts/vif-route"' 
              ]

I get the following error: Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

Could anybody please help me.
I already asked on IRC but no answer.
Thanks
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


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

_______________________________________________
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®.