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/$VEID.conf $m
> >     fi
> >     rm -f $n
> > done
> > 
> > The /etc/vz/names/xxxx.conf file should be removed or?
>  I would venture a guess that removing is fine, there shouldn't be any
> valuable data in that conf, only VEID number (which is preserved as
> symlink, so there is no risk of data loss).
> 
> > Is there a good way to detect the change of config scheme?
>  I'm only aware of testing using existance of *.conf settings in names/.
> 
> Sorry for the long delay, I mistakenly marked this conversation as
> finished.

No problem. Thanks for your response. I'll create an upgrade path.

Best regards,

// Ola

> -- 
> Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
>  Total Existance Failure
> 

-- 
 --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/  [EMAIL PROTECTED]                   Annebergsslingan 37        \
|  [EMAIL PROTECTED]                   654 65 KARLSTAD            |
|  http://opalsys.net/               Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to