Hi darius
On Thu, Jan 31, 2008 at 11:01:43AM +0100, Dariush Pietrzak wrote:
> > for n in $(find /etc/vz/names -maxdepth 1 -name "*.conf"); do
> > VEID=
> > m=`echo $n|sed -e "s/.conf//"`
> > . $n
> > echo $VEID
> > if [ -n "$VEID" ] ; then
> > ln -s /etc/vz/conf/$VE
> for n in $(find /etc/vz/names -maxdepth 1 -name "*.conf"); do
> VEID=
> m=`echo $n|sed -e "s/.conf//"`
> . $n
> echo $VEID
> if [ -n "$VEID" ] ; then
> ln -s /etc/vz/conf/$VEID.conf $m
> fi
> rm -f $n
> done
>
> The /etc/vz/names/.conf
Hi
I assume that this would work as fine, or?
for n in $(find /etc/vz/names -maxdepth 1 -name "*.conf"); do
VEID=
m=`echo $n|sed -e "s/.conf//"`
. $n
echo $VEID
if [ -n "$VEID" ] ; then
ln -s /etc/vz/conf/$VEID.conf $m
fi
rm
Hello,
> Exactly what did you need to do to solve the problem?
cd /etc/vz/names && for n in *; do echo $n; m=`echo $n|sed -e "s/.conf//"`;
v=`cat $n|sed -e "s/VEID=.//"|sed -e "s/.$//"`; echo $m;ln -s
/etc/vz/conf/$v.conf $m; done
did the trick for me, I guess something logically equivalent wo
Hi
Thanks for the report. I was not aware that it had changed. I'll see what
I can do about this.
Exactly what did you need to do to solve the problem?
I have personally not used the --name settings myself.
Best regards,
// Ola
On Sat, Jan 12, 2008 at 12:25:12AM +0100, eyck wrote:
> Package: v
Package: vzctl
Version: 3.0.22-2
Severity: wishlist
In previous versions --name setting has been kept in name.conf file in
/etc/vz/names directory. In new vzctl it uses much cleaner symlinks like
this:
lrwxrwxrwx 1 root root 21 Jan 12 00:00 etchdev -> /etc/vz/conf/777.conf
-rw-r--r-- 1 root root
6 matches
Mail list logo