*SOLVED* How do I use vztmpl-centos-4-2.0-2.i386.rpm? [message #10553] |
Wed, 21 February 2007 15:50  |
 |
JimL
Messages: 116 Registered: February 2007
|
Senior Member |
|
|
I have successfully installed from source an openvz kernel on Ubuntu, and am now trying to get a VM running from a template. I was successful at copying a running VM from FC6 into /vz/private so I know I'm almost there, however...
When I install vztmpl-centos-4-2.0-2.i386.rpm and then attempt to create a vm, with:
vzctl create 300 --ostemplate centos-4
I get
Cached os template /vz/template/cache/centos-4.tar.gz not found
Sure enough, /vz/template/cache is empty. And if I look at the rpm I don't see it putting anything in the cache.
The rpm puts files in /vz/template/centos/4/i386/config and /vz/template/centos/4/i386/vz-addons.
I also tried vzctl create 300 centos, without any success.
How do I create a vm from the info in /vz/tmeplate/centos?
THanks,
Jim.
[Updated on: Thu, 22 February 2007 15:13] by Moderator Report message to a moderator
|
|
|