Roderick A. Anderson wrote: > The builds using rsync are going well but this has created a bit of a > problem. Typically I build using yum as the method. This creates all > the necessary files in /etc/vservers/<guest>/apps. Using rsync doesn't. > > Is there a command/incantation to convert a vserver guest to another > package-management system like yum, apt-get, etc? > > I suspect the pieces to do this are in the vserver script but if the > method is just undocumented it would be quicker.
Oh, you're using external package management? To ease the migration, you probably should've internalized that before the move, and then externalized it again once you got to the destination server. Now, I think you should be able to just copy /vservers/.pkg/<guest> to /vservers/.pkg on the destination host, and just make sure you have all of the necessary symlinks and files in apps/pkgmgmt. For reference, the commands to internalize/externalize package management are: vserver <guest> pkgmgmt internalize (possibly with --force since you don't seem to have yum installed in the guest) <move the guest, and then run...> vserver <guest> pkgmgmt externalize -- Daniel Hokka Zakrisson _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
