[Users] Fedora-3x template packages
Peter Schultze
petersch at CS.UCLA.EDU
Thu Aug 6 03:17:10 MSK 2020
On Wed, 5 Aug 2020, Denis Silakov wrote:
> I guess there are no docs, but the process is rather simple - clone the repo, checkout a branch corresponding to the development version (dist-vz7-u15 atm), copy all files to your ~/rpmbuild/SOURCES folder and launch rpmbuild -bb *spec.
I am evidently still missing something. Building and installing an rpm
ran without errors:
# cd rpmbuild/SOURCES
# git clone -b dist-vz7-u15 https://src.openvz.org/scm/ovzt/fedora-32-x86_64-ez.git
# cd
# rpmbuild -bb rpmbuild/SOURCES/fedora-32-x86_64-ez/fedora-32-x86_64-ez.spec
# yum localinstall rpmbuild/RPMS/noarch/fedora-32-x86_64-ez-7.0.0-1.vl7.noarch.rpm
However, the resulting rpm contains no os files:
# rpm -ql fedora-32-x86_64-ez-7.0.0-1.vl7.noarch
/vz/template/fedora/32/x86_64/config/app/*/default
/vz/template/fedora/32/x86_64/config/app/*/default/description
/vz/template/fedora/32/x86_64/config/app/*/default/release
/vz/template/fedora/32/x86_64/config/app/*/default/summary
/vz/template/fedora/32/x86_64/config/app/*/default/version
and container generation of course fails:
# prlctl create F32 --vmtype ct --ostemplate fedora-32-x86_64
Creating the Container...
Failed to register the CT: PRL_ERR_VZCTL_OPERATION_FAILED (Details: Error:
Unable to find ostemplate: fedora-32-x86_64
Creation of Container private area failed)
Failed to create the virtual machine.
What am I missing?
> ________________________________
> From: users-bounces at openvz.org <users-bounces at openvz.org> on behalf of Peter Schultze <petersch at cs.ucla.edu>
> Sent: Wednesday, August 5, 2020 11:01 PM
> To: users at openvz.org <users at openvz.org>
> Subject: [Users] Fedora-3x template packages
>
> Hello,
>
> https://src.openvz.org/projects/OVZT has entries for Fedora-30 and
> Fedora-32. However, the most recent rpm package available in the normal
> OpenVZ 7.0 repository is fedora-23-x86_64-ez
>
> Does documentation exist on how to build a template from the available
> sources?
>
> Peter S.
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>
--
Peter Schultze
UCLA Computer Science Department 310-825-9929
More information about the Users
mailing list