Jeroen van Meeuwen wrote:
Farkas Levente wrote:
> hi,
> if i set :
> kickstart_manifest=1
> kickstart_include=1
> kickstart_default=1
> kickstart_repos=1
> then in the model's main conf file should i have to define any repos or
> can i just define the main part of the yum.conf and all repos can be
> extracted form kickstart file?
>
You should not have to list any repositories in the main configuration file.
ok, so these two problems (comps and repo conf) is related imho, so when
i run this command:
------------------------------------------------------------
sudo /usr/sbin/revisor --cli --yes --config revisor.conf --kickstart
/tmp/ks.cfg
Loading Repositories: #######
18.0% No groups present! Error was: No Groups Available in any repository
Loading Repositories:
######################################## 100.0%
No Package Matching grub. This is a required package.
------------------------------------------------------------
i attached everything. imho it's really a minimal setup. can you run it
on epel-5 with revisor-2.0.5.2-1.el5?
yours.
--
Levente "Si vis pacem para bellum!"
install
cdrom
lang en_US.UTF-8
keyboard us
logging --level=info
network --bootproto=dhcp --device=eth0 --onboot=on
firewall --disabled
firstboot --disable
authconfig --enableshadow --enablemd5
selinux --disabled
timezone --utc Europe/Budapest
text
bootloader --location=mbr --append="rhgb quiet"
zerombr
reboot
clearpart --initlabel --all --drives=sda
part swap --asprimary --fstype swap --ondisk=sda --recommended
part / --asprimary --fstype ext3 --ondisk=sda --size=1 --grow
repo --name=centos --baseurl=http://mirror.centos.org/centos/5/os/i386/
%packages
@core
@base
# Revisor base config file
# This file will be updated, so make sure to watch .rpmnew stuff
[revisor]
# Some revisor options to eliminate the need for CLI parameters,
# or save clicks in the GUI
# Types of Installation Media to build
media_installation_dvd=1
media_installation_cd=0
# Types of Live Media to build
media_live_optical=0
media_live_thumb=0
repos_enabledevelopment=0
repos_enabletesting=0
repos_enablesource=0
repos_enabledebuginfo=0
# These are more advanced options
dependency_resolve_allow_conflicts=1
mode_respin=1
#local settings
kickstart_manifest=1
kickstart_include=1
kickstart_default=1
kickstart_repos=1
im_append=driverload=ata_piix
#revisor_comps=1
model=v4-i386
##
## Models
##
[v4-i386]
main = revisor-v4-i386.conf
product_name = CentOS
product_path = CentOS
iso_basename = CentOS
iso_label = CentOS
comps = /usr/share/revisor/comps/comps-c5.xml
architecture = i386
version = 4
getsource = 0
release_pkgs = ^centos-release.*
release_files = eula.txt fedora.css GPL README-BURNING-ISOS-en_US.txt
RELEASE-NOTES-en_US.html ^RPM-GPG img images stylesheet-images
[main]
cachedir=-yumcache
reposdir=
keepcache=1
debuglevel=1
logfile=revisor-yum.log
pkgpolicy=newest
distroverpkg=centos-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
assumeyes=1
priority=99
metadata_expire=15
installroot=/var/tmp/revisor
failovermethod=priority