OpenVZ Forum


Home » General » Support » VE networking question
Re: VE networking question [message #32716 is a reply to message #32706] Mon, 25 August 2008 14:16 Go to previous messageGo to previous message
satimis is currently offline  satimis
Messages: 39
Registered: August 2008
Member
piavlo wrote on Mon, 25 August 2008 16:41

I meant that you put the set -x in /usr/sbin/vznetaddbr

Also tried. Same result "/usr/sbin/vznetcfg: 20: source: not found"


[Host]# vzctl start 101
Starting VE ...
VE is mounted
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: satimis-desktop32
File resolv.conf was modified
Configure veth devices: veth101.0 
/usr/sbin/vznetcfg: 20: source: not found
VE start in progress...



[Host]# cat /usr/sbin/vznetaddbr
#!/bin/bash
# /usr/sbin/vznetaddbr
# a script to add virtual network interfaces (veth's) in a CT to a bridge on CT0
set -x
CONFIGFILE=/etc/vz/conf/$VEID.conf
. $CONFIGFILE
VZHOSTIF=`echo $NETIF |sed 's/^.*host_ifname=\(.*\),.*$/\1/g'`
....


Even placing it on top of the file
set -x
#!/bin/bash
# /usr/sbin/vznetaddbr
# a script to add virtual network interfaces (veth's) in a CT to a bridge on CT0
CONFIGFILE=/etc/vz/conf/$VEID.conf
. $CONFIGFILE
VZHOSTIF=`echo $NETIF |sed 's/^.*host_ifname=\(.*\),.*$/\1/g'`
....

There was no change on the output.


satimis
 
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: What control panel for testing server.
Next Topic: which ve's start on machine boot
Goto Forum:
  


Current Time: Fri Sep 27 06:51:23 GMT 2024

Total time taken to generate the page: 0.06971 seconds