Fwd: Re: Install Most Recent Fedora 14 Packages vs. What Is On DVD
by Alan Crosswell
Oops, forgot to switch senders before posting this:
-------- Original Message --------
Subject: Re: Install Most Recent Fedora 14 Packages vs. What Is On DVD
Date: Sun, 20 Mar 2011 22:16:56 -0400
From: Alan Crosswell <alan(a)columbia.edu>
To: Christian Horn <chorn(a)fluxcoil.net>
CC: cobbler mailing list <cobbler(a)lists.fedorahosted.org>
OK, so I can't use a metalink, but can use
http://download.fedoraproject.org/pub/fedora/linux/releases/$release/$bas...
which is what I was trying to do anyway. I did have an error popup a
couple of times during installiton and had to select retry due to a
complaint about a corrupted RPM -- so I guess one of the Fedora mirrors
is messed up (the Anaconda log on tty3 shows HTTP 403 errors from
mirror.cc.vt.edu). It would be nice if Anaconda would automatically
retry a couple of times so I can get a totally hands-off install.... I
think because Anaconda only thinks it's got the one mirror (1/1). Maybe
I can just make two or three repos that are identical copies so Anaconda
will think it has more repos to try....
/a
On 03/07/2011 01:56 AM, Christian Horn wrote:
> On Sun, Mar 06, 2011 at 05:09:19PM -0500, Alan Crosswell wrote:
>> Does cobbler support metalink URLs for repos like those found in
>> /etc/yum.repos.d? Something like (with the variables expanded for the
>> specific release and arch):
>>
>> https://mirrors.fedoraproject.org/metalink?repo=fedora-14&arch=i386
>>
>> Last time I tried this, I found I had to provide a specific mirror.
> True, doesnt work.
> Apparently to check availability of the mirror 'cobbler reposync' tries
> to fetch 'repodata/repomd.xml'. For a url you have in mind like
>
> https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
>
> the possible values of $basearch you want to use would have to be guessed
> by reposync.. maybe the check could be disabled. When repos are not to
> be mirrored locally fetching 'repodata/repomd.xml' serves no further
> purpose than 'quick check' as i see it. Might be deeper magic there thou.
>
>
> Christian
>
13 years, 1 month
Cobbler version variable?
by petermity
I would like to note the version of Cobbler used to create a unit - that
is, in %post, grab the version string and copy it into a file in the
created unit's /root directory, similar to how Cobbler's $kickstart_done
puts the kickstart there as cobbler.ks.
Doing profile dumpvars, I don't see Cobbler's version string. Is there a
way to do this?
13 years, 1 month
How check for existence of snippet file?
by petermity
How can I check for the existence of a snippet file before
attempting to include it? That is, something like this:
#set $mysnippet = $mysnipdir + '/mysnipfile'
#if file_exists('$mysnippet')
$SNIPPET('$mysnippet')
#end if
13 years, 1 month
Migrating some systems from 1.6.2 to 2.0.9
by Sean Carolan
Hi All:
I have a couple of upgrade questions:
1. The wiki recommends using "cobbler replicate" to move to the new system.
Will this work when moving between version 1.6.2 >> 2.0.9? Any gotchas to
look out for?
2. Is it possible to migrate one or more systems at a time? I'm wondering
if there is an export command or way to generate the proper "cobbler system
add" commands from the source, and then run them on the destination.
thanks
Sean
13 years, 1 month
Trouble with cobbler.api
by lbednar@redhat.com
Hi all,
I have trouble with cobbler.api (python).
I can't see systems, created using cobbler-api, in cobbler (for example: cobbler list).
But they are there even I can boot from them. But problem is: It can't download kickstart from server when
machine is booting from this system. Server reply 'system not found'.
My steps (acording wiki-page):
$> cobbler list
distros:
rhel5.6-x86_64
profiles:
rhel5.6-x86_64
systems:
repos:
epel
images:
$> python
>>> import cobbler.api as ca
>>> h = ca.BootAPI()
>>> system = h.new_system()
>>> system.set_name('00:1a:4a:16:95:52')
True
>>> system.set_profile('rhel5.6-x86_64')
True
>>> h.add_system(system)
True
>>> l = h.find_system(name='*', return_list=True)
>>> l[0].name
'00:1a:4a:16:95:52'
>>>exit()
$> cobbler system list
$>
Now I can boot VM machine with mac=00:1a:4a:16:95:52 from PXE.
But it failed:
http://cobbler-host/cblr/svc/op/ks/system/00:1a:4a:16:95:52
# system not exit
Do you know somebody what I am doing wrong?
Thanks.
Regards Lukas.
13 years, 1 month
Re: Automatic network setup using getent?
by Sandor Strohmayer
kl vqqqaq
Scott Henson <shenson(a)redhat.com> wrote:
>On Thu, 10 Mar 2011 07:38:49 -0500, Gary Algier <gaa(a)ulticom.com> wrote:
>> Is there any way to get cobbler to automatically define eth0 with MAC address
>> and IP address from the getent functions?
>>
>> In our environment we have another system setup as the DHCP and DNS server.
>> When we populate its information it also defines the MAC in LDAP. The system
>> we have cobbler running on could do this:
>> ip=$(getent hosts reptar.example.com | awk '{print $1}')
>> mac=$(getent ethers reptar.example.com | awk '{print $1}')
>> Is there any way to get cobbler to default to this for eth0?
>>
>> (Actually the MAC address would need to be editted a little in that cobbler
>> does not like MACs like 0:50:56:82:0:e and getent zero suppresses).
>>
>> Yes I could write a cobbler-add script that would front end the cobbler
>> command, but my goal is to make cobbler web be easy to use.
>>
>> I see that there are methods to run snippets to build the ks file, etc. so I
>> could do all sorts of things later in the process, but is there any way to get
>> code to run at "system add" time?
>
>You would need to write custom code to do this. We don't currently have
>any way of doing this.
>
>--
>Scott Henson
>Red Hat CIS Operator
>WVU Alum BSAE/BSME
>
>_______________________________________________
>cobbler mailing list
>cobbler(a)lists.fedorahosted.org
>https://fedorahosted.org/mailman/listinfo/cobbler
13 years, 1 month
Automatic network setup using getent?
by Gary Algier
Is there any way to get cobbler to automatically define eth0 with MAC address
and IP address from the getent functions?
In our environment we have another system setup as the DHCP and DNS server.
When we populate its information it also defines the MAC in LDAP. The system
we have cobbler running on could do this:
ip=$(getent hosts reptar.example.com | awk '{print $1}')
mac=$(getent ethers reptar.example.com | awk '{print $1}')
Is there any way to get cobbler to default to this for eth0?
(Actually the MAC address would need to be editted a little in that cobbler
does not like MACs like 0:50:56:82:0:e and getent zero suppresses).
Yes I could write a cobbler-add script that would front end the cobbler
command, but my goal is to make cobbler web be easy to use.
I see that there are methods to run snippets to build the ks file, etc. so I
could do all sorts of things later in the process, but is there any way to get
code to run at "system add" time?
--
Gary Algier, WB2FWZ gaa at ulticom.com +1 856 787 2758
Ulticom Inc., 1020 Briggs Rd, Mt. Laurel, NJ 08054 Fax:+1 856 866 2033
Nielsen's First Law of Computer Manuals:
People don't read documentation voluntarily.
13 years, 1 month
Problem installing Scientific Linux 6 virtual guest
by Leonid Flaks
I ran into a problem installing SL 6 virtual guest using koan. It was
traced to incompatibility between SL6 installation tree and
python-virtinst package. I submitted a bug report in bugzilla
(https://bugzilla.redhat.com/show_bug.cgi?id=683862) with a 'quick and
dirty' fix, which allowed me to proceed but will definitely break other
installations.
Guest system is running F-14, I tried F-12 also.
Tracing this error was not very easy and I thought it might help others.
--
Leon
13 years, 1 month