Hello Scott and Edrick,

Scott, vzpkg was discontinued in OpenVZ, however, Edrick has inquiry about VZ7 
beta3. You are absolutely correct about prlctl, I just want to correct the 
vzpkg-related part.

Edrick, vzpkg is working perfectly fine in VZ7 beta3, you can give it a try and 
see that yourself. It's an utility used to manage EZ-templates for containers.
Although prlctl will do all the caching job for you, sometimes you might want 
to manage templates directly, and for these occasions you'll need vzpkg.
Basic operations you might want to perform someday:
1) listing templates
# vzpkg list 
add "-O" to see only OS-templates (skip app-templates)
add "-c" to see only cached OS templates

2) updating cache
# vzpkg update cache <template-name>

3) installing a package/app template to a container
# vzpkg install CTID <apptemplate or a packagename>
add "-p" to install a package from repository instead of an application 
template(which is default behavior)

4) updating container with packages from repository
# vzpkg update CTID

You can find all of these and much more in "man vzpkg".

Best Regards,
--
Pavel Vokhmyanin
Virtualization Maintenance
Virtuozzo

________________________________________
От: users-boun...@openvz.org <users-boun...@openvz.org> от имени Scott Dowdle 
<dow...@montanalinux.org>
Отправлено: 18 марта 2016 г. 9:27
Кому: OpenVZ users
Тема: Re: [Users] Create Ubuntu Environment

Greetings,

----- Original Message -----
> Running 7 Beta 3 and can’t for the life of me figure out how to
> create a instance based on Ubuntu 14.10 x64. I ran yum install
> ubuntu-14.10-x86_64-ez.noarch which completed but can’t create with
> the prlctl command. How would I add templates / create?

prlctl create {ctid} --vmtype ct --ostemplate ubuntu-14.04-x86_64

The first time you create a container from an EZ template you haven't used 
before, it'll build it by downloading all of the packages, extracting them to a 
build directory, and then compressing that into a disk image... and that is 
added to the OS Template cache... from which it creates your new container 
from.  Subsquent container creations will see it the ready-to-use OS Template 
in the cache dir... although you can refresh the OS Template wheneve desired as 
new updates appear.

OpenVZ operated the same way in the first couple of years... but vzpkg 
bitrotted with changes in Python and got discontinued.

After the container is created then you can prlctl set whatever config 
parameters you need.

TYL,
--
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]

_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users

Reply via email to