OpenVZ Forum


Home » Mailing lists » Users » Bug in vzmigrate?
Bug in vzmigrate? [message #2955] Wed, 03 May 2006 17:29 Go to next message
Jim Zajkowski is currently offline  Jim Zajkowski
Messages: 5
Registered: May 2006
Junior Member
Hi there!

It seems as though the --keep_dst option is backwards, and looking at the
code:

undo_private () {
if [ $keep_dst -eq 1 ]; then
$SSH "root@$host" "rm -rf $VE_PRIVATE"
fi
undo_conf
}

That does not seem quite right to me; it should be -eq 0.

Am I reading this incorrectly?

--Jim
Re: Bug in vzmigrate? [message #2970 is a reply to message #2955] Thu, 04 May 2006 08:28 Go to previous message
Andrey Mirkin is currently offline  Andrey Mirkin
Messages: 193
Registered: May 2006
Senior Member
Hello Jim,

You are right, --keep_dst option works incorrect now.

Thanks for your correction!

We will include it in next release.

Regards,
Andrey

> Subject:        [Users] Bug in vzmigrate?
> Date:   Wed, 3 May 2006 13:29:20 -0400 (EDT)
> From:   Jim Zajkowski <jamesez@umich.edu>
> Reply-To:       users@openvz.org
> To:     users@openvz.org
>
>
>
> Hi there!
>
> It seems as though the --keep_dst option is backwards, and looking at the
> code:
>
> undo_private () {
>         if [ $keep_dst -eq 1 ]; then
>                 $SSH "root@$host" "rm -rf $VE_PRIVATE"
>         fi
>         undo_conf
> }
>
> That does not seem quite right to me; it should be -eq 0.
>
> Am I reading this incorrectly?
>
> --Jim
Previous Topic: OpenVZ on Fedora Core 5 (networking question)
Next Topic: problem building fedora core 5 cache
Goto Forum:
  


Current Time: Tue Aug 06 13:16:33 GMT 2024

Total time taken to generate the page: 0.06171 seconds