Closed lorin closed 9 years ago
Sorry I never commented on this; I think I just forgot.
It's an interesting problem. I'm not sure I've ever tried the -minimal; I'll give it a whirl. If it turns out we just can't use it, then I'll add some code to detect the situation during setup and abort early.
Thanks for the report, and sorry about the delay.
I get an exception when trying to create a image from minimal iso using "oz-install -d3 -u centos-i386.tdl -x cento-i386-libvirt.xml":
Collection Setup
Setting up guestfs handle for centos-min-i386
Adding disk image /var/lib/libvirt/images/centos-min-i386.dsk
Launching guestfs
Inspecting guest OS
Traceback (most recent call last):
File "/home/leonspencer/virt/oz-0.11.0/oz-install", line 172, in
Hm. Well, for the original issue reported here, I did indeed confirm that there is something weird with the CentOS minimal disks. It ends up looking for a package collection that doesn't exist, and that causes the error. At the very least I need to update the documentation, and I should be able to do better than that by detecting the situation and throwing an error early on.
As for the second problem, I'm honestly not sure what is going on there. Did you use the minimal CD to do the installation to begin with? If so, I'm surprised you got as far as you did. Can you open a new issue, and paste the entire output from oz-install? That might help in tracking it down.
Sure thing
You could use the following in your kickstart:
%packages --nobase
The last comment is exactly right; --nobase on the %packages section fixes it. That also seems to work with RHEL-6, so I've now committed a fix for this. Sorry it's taken so long!
When I try to install the CentOS 6.3 example tdl, the installation gets stuck at the following screen:
It works fine if I use CentOS-6.3-x86_64-bin-DVD1.iso instead of CentOS-6.3-x86_64-minimal.iso.
I recommend changing the example wiki page (would be happy to do this myself), although I'd like to get confirmation from somebody else first that this is a problem with the example and not my setup.