Hi, Fist of all, this is great tools. good job, guys. Well, I have a question about "$yum_repo_stanza" and "$yum_config_stanza" on a kickstart template file. I went through the following steps: 1. Install cobbler. 2. Check and setup. 3. Import distro from CentOS5 DVD-ROM. # cobbler import --mirror=/mnt/cdrom --name="centos5" 2 distros and 2 profiles were automatically added. # cobbler report distro : centos5-i386 kernel : /var/www/cobbler/ks_mirror/centos5/images/pxeboot/vmlinuz initrd : /var/www/cobbler/ks_mirror/centos5/images/pxeboot/initrd.img kernel options : {} architecture : x86 ks metadata : {'tree': 'http://@@server@@/cblr/links/centos5-i386'} breed : redhat distro : centos5-xen-i386 kernel : /var/www/cobbler/ks_mirror/centos5/images/xen/vmlinuz initrd : /var/www/cobbler/ks_mirror/centos5/images/xen/initrd.img kernel options : {} architecture : x86 ks metadata : {'tree': 'http://@@server@@/cblr/links/centos5-xen-i386'} breed : redhat profile : centos5-i386 distro : centos5-i386 kickstart : /etc/cobbler/kickstart_fc6.ks kernel options : {} ks metadata : {} virt file size : 5 virt ram : 512 virt type : auto virt path : repos : [] profile : centos5-xen-i386 distro : centos5-xen-i386 kickstart : /etc/cobbler/kickstart_fc6.ks kernel options : {} ks metadata : {} virt file size : 5 virt ram : 512 virt type : auto virt path : repos : [] 4. Then, checked kickstart files in /var/www/cobbler/kickstarts/centos5-i386 # cat /var/www/cobbler/kickstarts/centos5-i386/ks.cfg --- repo --name=centos5 --baseurl=http://xxx.xxx.xxx.xxx/cobbler/ks_mirror/centos5 repo --name=centos5 --baseurl=http://xxx.xxx.xxx.xxx/cobbler/ks_mirror/centos5 repo --name=centos5 --baseurl=http://xxx.xxx.xxx.xxx/cobbler/ks_mirror/centos5 --- 5. Also, modified /var/lib/cobbler/settings, changed "yum_core_mirror_from_server" to "1", and sync. $yum_config_stanza was replaced like this. # cat /var/www/cobbler/kickstarts/centos5-i386/ks.cfg --- wget http://xxx.xxx.xxx.xxx/cobbler/ks_mirror/config/centos5-i386-0.repo --output-document=/etc/yum.repos.d/centos5-i386-0.repo wget http://xxx.xxx.xxx.xxx/cobbler/ks_mirror/config/centos5-i386-1.repo --output-document=/etc/yum.repos.d/centos5-i386-1.repo wget http://xxx.xxx.xxx.xxxcobbler/ks_mirror/config/centos5-i386-2.repo --output-document=/etc/yum.repos.d/centos5-i386-2.repo --- There are 3 repo setting files for i386 in /var/www/cobbler/ks_mirror/config # ls /var/www/cobbler/ks_mirror/config centos5-i386-0.repo centos5-i386-1.repo centos5-i386-2.repo And, each content of those file is almost same. # diff centos5-i386-0.repo centos5-i386-1.repo 1,2c1,2 < [core-0] < name=core-0 --- > [core-1] > name=core-1 I checked action_import.py and found something seemed to relate this. ----- # write a yum config file that shows how to use the repo. if counter == 0: dotrepo = "%s.repo" % distro.name else: dotrepo = "%s-%s.repo" % (distro.name, counter) ----- I think this is not harmless, but does mean nothing. But I don't know about python and I am not sure what this means. What does this means? Kuniaki Shimizu. <kunkichi@xxxxxxxxx> ----- OS: CentOS5 Cobbler Version: 0.6.1-2 (build from srpm) _______________________________________________ et-mgmt-tools mailing list et-mgmt-tools@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/et-mgmt-tools