Re: [Users] distribute template packages with yum

2015-06-19 Thread Scott Dowdle
Greetings, - Original Message - > also it will be useful update hardware node with only one command: > > # yum update > > instead of two commands, as it now: > > # yum update > # vztmpl-dl --update-all While yum does have a download only option (and there is yumdownloader in the yum-u

Re: [Users] distribute template packages with yum

2015-06-19 Thread Gena Makhomed
On 19.06.2015 15:49, Scott Dowdle wrote: > While yum does have a download only option > (and there is yumdownloader in the yum-utils package)... > yum really shouldn't be overloaded to be a file sync tool. yum is package manager, not file sync tool. > yum understands repository metadata about r

Re: [Users] distribute template packages with yum

2015-06-19 Thread Scott Dowdle
Greetings, - Original Message - > you don't need to change yum at all, so no overloading here. I mirror a few distro repositories... and I have some local repos I've set up. Just put some .rpm files in a web-accessible directory and run createrepo... and lastly, make a .repo file. So,

Re: [Users] distribute template packages with yum

2015-06-19 Thread Gena Makhomed
On 19.06.2015 21:46, Scott Dowdle wrote: how do you make it work with non-rpm files? for creating rpm-files you need rpmbuild and spec-file. for example: $ cat vz-template-centos-7-x86_64-minimal.spec Name: vz-template-centos-7-x86_64-minimal Version: 2015.06.16 Release: 1%{?dist} License:

Re: [Users] distribute template packages with yum

2015-06-19 Thread Scott Dowdle
Greetings, - Original Message - > for creating rpm-files you need rpmbuild and spec-file. > > for example: > > $ cat vz-template-centos-7-x86_64-minimal.spec > > Name: vz-template-centos-7-x86_64-minimal > Version: 2015.06.16 > Release: 1%{?dist} > License: TBD > Summary: TBD > Source0:

Re: [Users] distribute template packages with yum

2015-06-19 Thread Volker Janzen
Hi, > I just use rsync to grab the OS Templates myself. is this somewhere told in the docs how to set this up? I wasn't aware of this and I think this could be essential to point designated OpenVZ admins to in the installation guide or on the os template page. Regards Volker ___