OpenVZ Forum


Home » General » Support » howto auto add VE veth to a HN bridge upon VE startup?[Solved]
howto auto add VE veth to a HN bridge upon VE startup?[Solved] [message #16419] Wed, 05 September 2007 19:13 Go to previous message
piavlo is currently offline  piavlo
Messages: 159
Registered: January 2007
Senior Member
I have one specific VE with veth device, i want
that during this VE startup ,after the veth device is created,
on VE0 (i.e. HN) this veth will be added as bridge interface.
This should happen before the internal VE network ralter init.d scripts are started.

All I've found is POST_CREATE parameter which points
/etc/vz/dists/scripts/postcreate.sh which is run in VE0,
but is' unclear to me what runs first the postcreate.sh in VE0
or the specific VE init.d scripts?

Also on gentoo wiki i found a similar way to auto mount/umount
partitions then VE starts up with /etc/vz/conf/vps.mount and
/etc/vz/conf/vps.umount or <VPS-ID>.mount and <VPS-ID>.umount
scripts (did not find a detailed info on how this works)
Maybe there is a similar way to auto add veth VE device to VE0 bridge?

Thanks
Alex

[Updated on: Mon, 17 September 2007 11:29]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Audit issues
Next Topic: private vs root
Goto Forum:
  


Current Time: Sat Sep 28 09:06:23 GMT 2024

Total time taken to generate the page: 0.04088 seconds