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

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



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

Reply via email to