Tom Brown wrote:
>>>   
>>>     
>>>       
>> i have just tried this on a different CentOS4 box and i actually get the 
>> same result - This is will all packages installed from epel, nothing 
>> self compiled.
>>
>>   
>>     
>
> i should note that i did try additing a repo other than 'base' as i know 
> its been mentioned that that is not required. I added a software repo 
> thats external and same result.
>
> the repo added is called software-5-x86_64
>
> # cobbler repo add --name=software-5-x86_64 
> --mirror=http://192.168.10.4/mirror/yum/software/5/x86_64 --mirror-locally=0
>
> # cobbler reposync
> - creating: /var/www/cobbler/repo_mirror/software-5-x86_64/config.repo
>
> # cobbler repo report software-5-x86_64
> repo             : software-5-x86_64
> arch             : x86_64
> breed            : yum
> comment          :
> created          : Wed Apr  8 10:14:04 2009
> createrepo_flags : -c cache
> environment      : {}
> keep updated     : True
> mirror           : http://192.168.10.4/mirror/yum/software/5/x86_64
> mirror locally   : False
> modified         : Wed Apr  8 10:16:16 2009
> owners           : [u'admin']
> priority         : 99
> rpm list         :
> yum options      : {}
>
> # cobbler profile edit --name=CentOS-5.2-xen-i386 
> --repos='software-5-x86_64'
>
> # cobbler profile report CentOS-5.2-xen-i386
> profile              : CentOS-5.2-xen-i386
> distro               : CentOS-5.2-xen-i386
> comment              :
> created              : Thu Mar  5 20:45:45 2009
> dhcp tag             : default
> enable menu          : True
> kernel options       : {}
> kickstart            : /var/lib/cobbler/kickstarts/sample.ks
> ks metadata          : {}
> mgmt classes         : []
> modified             : Wed Apr  8 10:22:23 2009
> name servers         : []
> name servers search  : []
> owners               : [u'admin']
> post kernel options  : {}
> redhat mgmt key      : <<inherit>>
> redhat mgmt server   : <<inherit>>
> repos                : ['usoftware-5-x86_64']
> server               : <<inherit>>
> template_files       : {}
> virt bridge          : xenbr0
> virt cpus            : 1
> virt file size       : 5
> virt path            :
> virt ram             : 512
> virt type            : xenpv
>
> # cobbler system report --name=virt01
> system                : virt01
> profile               : CentOS-5.2-xen-i386
> comment               :
> created               : Wed Jan  7 12:41:04 2009
> gateway               : 192.168.10.1
> hostname              : virt01
> image                 :
> kernel options        : {}
> kernel options post   : {}
> kickstart             : <<inherit>>
> ks metadata           : {u'nameserver': u'192.168.10.4'}
> mgmt classes          : []
> modified              : Wed Apr  8 10:19:16 2009
> name servers          : []
> name servers search   : []
> netboot enabled?      : True
> owners                : [u'admin']
> redhat mgmt key       : <<inherit>>
> redhat mgmt server    : <<inherit>>
> server                : <<inherit>>
> template files        : {}
> virt cpus             : <<inherit>>
> virt file size        : <<inherit>>
> virt path             : <<inherit>>
> virt ram              : <<inherit>>
> virt type             : <<inherit>>
> power type            : ipmitool
> power address         :
> power user            :
> power password        :
> power id              :
> interface        : eth0
>   mac address    : 00:0C:29:E1:67:F5
>   bonding        :
>   bonding_master :
>   bonding_opts   :
>   is static?     : True
>   ip address     : 192.160.10.20
>   subnet         : 255.255.255.0
>   static routes  : []
>   dns name       : virt01
>   dhcp tag       :
>   virt bridge    :
>
>
> # cobbler system getks --name=virt01
>
> # Use network installation
> url --url=http://192.168.10.4:80/cblr/links/CentOS-5.2-xen-i386
> # If any cobbler repo definitions were referenced in the kickstart 
> profile, include them here.
> repo --name=source-1 
> --baseurl=http://192.168.10.4:80/cobbler/ks_mirror/CentOS-5.2-i386
>
> # Network information
> network --bootproto=dhcp --device=eth0 --onboot=on
> # Reboot after installation
> reboot
>
> # cobbler check
> The following potential problems were detected:
> #0: yum-utils need to be at least version 1.1.17 for reposync -l, 
> current version is 0.5
> #1: The default password used by the sample templates for newly 
> installed machines (default_password_crypted in /etc/cobbler/settings) 
> is still set to 'cobbler' and should be changed
> #2: One or more repos referenced by profile objects is no longer defined 
> in cobbler: usoftware-5-x86_64
>
> so different box same result - any repo added by me does not show at 
> boot time, the default one does in this case.
>   


and finally i reverted this back to a 1.4 release and did exactly the 
same steps, they are in a script now, and it all works as expected

# cobbler system getks --name=test-box

# System language
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
timezone --utc UTC
# Use network installation
url --url=http://10.10.10.234/mirror/5.2/os/x86_64/
# If any cobbler repo definitions were referenced in the kickstart 
profile, include them here.
repo --name=CentOS-5.2-x86_64-base 
--baseurl=http://10.10.10.234/mirror/5.2/os/x86_64
repo --name=bf-software-5-x86_64 
--baseurl=http://10.10.10.234/mirror/yum/software/5/x86_64

# cobbler version
cobbler 1.4.3

build date  : Wed Apr  8 12:03:24 2009

thanks
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to