We use this rather simplistic method:
#!/bin/bash
for i in `/usr/bin/func "*" list_minions`
do
/usr/bin/func "$i" call yumcmd check_update >> /var/tmp/updates-`date
-I`
done
cat /var/tmp/updates-`date -I` |mail -s "System Updates Available" root
rm -f /var/tmp/updates-`date -I`
We're using
Hi Tom,
I do this by defining ksmeta variables... Here's a small snippet:
#set disks = $getVar('$disks', 'sda')
#set count = len($disks.split(','))
#set server_type = $getVar('$server_type', 'none')
#if 'hypervisor' in $server_type.split(',')
part pv.01 --size=25000 --ondisk=${disks.split(','
Hi Larry,
You can add the repo during install with the repo keyword in the
kickstart file.
repo --name= [--baseurl=| --mirrorlist=]
HTH,
Harry
Larry Matter wrote:
> I am using cobbler to install CentOS 5.3 on a new system which will be a
> Xen host. I then want to install koan on that syste
Hi,
I seem to remember someone talking about setting up filetracking via
func at install time.
I can't remember if it's built into cobbler or if someone was just using
snippets.
Anyone know?
Cheers,
Harry
___
cobbler mailing list
cobbler@lists.fed
Triggers do indeed run on the server on which they are invoked (in this
case the cobbler server).
Since they can be any system executable you are left to your imagination
as to what you can actually do. Don't want it to be python, fine, invoke
perl.
You're wget example is not quite right... it's
Hi Bryon,
regarding your 1st point you should check out func/certmaster as they
integrate very nicely with cobbler and do exactly what you describe.
Cheers,
Harry
On Fri, 2010-08-13 at 16:30 -0400, Byron Pezan wrote:
> i'm not a dev, just a user, but in my experience so far, triggers definitely
I haven't actually tried it but how about the following:
#set ifaces = $interfaces.keys()
#for $iface in $ifaces
#echo $ifaces[$iface]
#end for
On Fri, 2010-10-22 at 09:39 -0400, Robert Becker wrote:
> Our builds differ in the sense that sometimes they have one interface
> and other times they ha
You have a underscore instead of a hyphen in the kickstart output, no?
Tim Tassinari wrote:
>Tim,
>
>When I've seen this in the past it is usually because the network for the
>machine being kickstarted is either not setup or incorrect.
>
>I'd verify that the network information is correct an
While maybe not "clonable" when building a brand new cobbler server I
use root's .bash_history to guide me through what I've done.
For every config file I edit I always issue the command "cp $file
$file-`date -I`" so I have the original to diff against to know exactly
what changes were made.
O
19, 2011 at 8:21 AM, Harry Hoffman
> wrote:
>> While maybe not "clonable" when building a brand new cobbler server I
>> use root's .bash_history to guide me through what I've done.
>>
>> For every config file I edit I always issue the command "cp
ntelligent life exists elsewhere in
> the universe is that none of it has tried to contact us.”
> Bill Waterson (Calvin& Hobbes)
>
> - Harry Hoffman wrote:
>> While maybe not "clonable" when building a brand new cobbler server I
>> use root's .bash_h
ave to just try on a scratch machine.
>
> I appreciate all the responses I am getting on this.
>
> “Sometimes I think the surest sign that intelligent life exists elsewhere in
> the universe is that none of it has tried to contact us.”
> Bill Waterson (Calvin& Hobbes)
>
>
I guess you should just pxeboot the netboot.iso? Original Message From: Bob Cochran Sent: Sat, Jun 23, 2012 09:51 PM To: cobbler-list CC: Subject: [cobbler] Necessity For Using KickstartHi,
I am still setting up my Cobbler server (version 2.3.1, and I installed
and updated fr
You probably want to add EPEL via the repo list. That way the packages
in EPEL are available as part of the install.
If you google for "kickstart documentation" or goto redhat's site you'll
see the options.
Then you can specify puppet and use a %post script to configure it.
Cheers,
Harry
On 08/
How will the client talk to the puppetmaster, after the install, if they
are on networks that can't communicate?
Cheers,
Harry
On 08/20/2012 12:26 PM, Bai Shen wrote:
> The sample kickstart file already has the puppet setup as far as I can
> tell. The part I appear to be missing is the first ste
Hi All,
Hopefully the subject says it all.
Just installed cobbler 2.4.0-beta3 on a centos 6 vm system (virtual box
x86_64):
[root@localhost ~]# service cobblerd start
Starting cobbler daemon: /bin/bash: line 1: 1626 Segmentation fault
(core dumped) cobblerd --daemonize
;
Cheers,
Harry
On Wed, 12 Dec 2012 19:02:16 -0500, Harry Hoffman wrote:
Hi All,
Hopefully the subject says it all.
Just installed cobbler 2.4.0-beta3 on a centos 6 vm system (virtual
box x86_64):
[root@localhost ~]# service cobblerd start
Starting cobbler daemon: /bin/bash: line 1: 1626
uilt from
>sourcecode.
>
>Bob
>
>
>On 12/12/12 7:06 PM, Harry Hoffman wrote:
>> Ok, this seems to be a selinux issue. setenforce 0 allows cobbler to
>> start:
>>
>> #= cobblerd_t ==
>> allow cobblerd_t cobbler_tmp_t:file execu
Hi All,
I've got a value (actually several) stored in ksmeta for a list of
users.
Kickstart Metadata: {'users': 'user1,user2,user3', 'rootmail':
'u...@fq.dn'}
I'm trying to iterate over the list of users to be able to create users
in my kickstart file.
I was trying to do something like:
Thanks guys,
The typo was just in my email. But that code didn't work.
What did was the following:
#set uname = $users.split(",")
#for $name in $uname
user --name=$name
#end for
Cheers,
Harry
On 03/04/2013 07:11 AM, James Cammarata wrote:
>>
>>
>>> I'm trying to iterate over the list of users
Oh, great! That looks a little bit cleaner.
Thanks, Jimi.
Cheers,
Harry
On 03/04/2013 10:01 AM, James Cammarata wrote:
> On Mon, Mar 4, 2013 at 7:09 AM, Harry Hoffman
> wrote:
>
>> Thanks guys,
>>
>> The typo was just in my email. But that code didn't work.
Have you run "cobbler validateks" on the kickstart file that includes
the snippet?
Also, there's the ErrorCatcher class in cheetah (albeit not built into
cobbler) that can help with this.
Cheers,
Harry
On 03/22/2013 07:26 AM, Robert Jacobson wrote:
> On 3/22/2013 4:46 AM, James Cammarata wrote:
I didn't know that command existed -- that rocks!
>
>
> *
> *
> *Bret Wortman*
> <http://damascusgrp.com/>
> http://damascusgrp.com/ <http://bretwortman.com/>
> http://twitter.com/BretWortman
>
>
> On Fri, Mar 22, 2013 at 7:30 AM, Harry Hoffman
&g
Can you share your snippet? Maybe we can help debug.
On 03/22/2013 08:05 AM, Robert Jacobson wrote:
> On 3/22/2013 7:30 AM, Harry Hoffman wrote:
>> Have you run "cobbler validateks" on the kickstart file that includes
>> the snippet?
>
> Thanks, I didn'
Jimmi,
Will this fix be pushed out to the 2.4 version that in epel-testing?
Cheers,
Harry
On 03/22/2013 09:46 AM, James Cammarata wrote:
> On Fri, Mar 22, 2013 at 7:05 AM, Robert Jacobson > wrote:
>
>> On 3/22/2013 7:30 AM, Harry Hoffman wrote:
>>
>> Have you run
Yes, if you tie a repo to a distro/profile/system then any system
installed that ties into either of the 3 will get the repo entry in
/etc/yum.repos.d (at least I believe that this is the case).
It should be handled by: $yum_config_stanza (as opposed to
$yum_repo_stanza, which includes them in the
Hi Stuart,
RPMs for 2.4 beta X can be had via the EPEL repository. If you select
epel-test via
yum --enablerepo=epel-test install cobbler cobbler_web
you'll get the latest (beta5, I believe).
Not sure about the upgrade, I did a fresh install. Just backup
/etc/cobbler and /var/lib/cobbler/{kicks
I thought I added that to the wiki a while ago?
On 05/09/2013 01:55 PM, James Cammarata wrote:
> Just getting back to this, due to some testing with Ubuntu 13.04. Digging
> through the errors shown in the ALT+F4 window, I finally found a launchpad
> bug that pointed me towards this option (formatt
Can you post the command and args you used to do the import?
On 05/14/2013 01:26 PM, David Birdsong wrote:
> ping?
>
> anybody know where should focus to troubleshoot this or whether i'm just
> doing something incorrectly?
>
>
> On Fri, May 10, 2013 at 7:00 PM, David Birdsong
> wrote:
>
>> Oh
In the first instance you are trying to import the updates and not the
distro.
In the second case I don't know if the minimal distro is supported.
This is the proper base for importing the latest (6.4):
http://mirror.centos.org/centos-6/6.4/os/
If you want just 64bit then choose x86_64
Cheers,
Hi All,
I've written a bunch of snippets to harden RH based distro so that they
conform to NIST/CIS benchmarks for system hardening.
Is there a central place to contribute these (assuming they are wanted)
or should I just find a place to host and then send a link?
Cheers,
Harry
_
Wow, that's awesome news.
I was just looking into OpenSolaris integration with Cobbler.
I'd be interested in how you make out.
Cheers,
Harry
On 01/08/2014 11:22 AM, piousbox-admin wrote:
> Hello all,
>
> I'm Victor, working at Nexenta and my current task is to enable Nexenta to be
> booted via
Hi,
Straight from the manual...
http://www.cobblerd.org/manuals/2.4.0/5/3/1_-_Built-In_Configuration_Management.html
Cheers,
Harry
On Jun 30, 2014 7:54 AM, Michael Tiernan wrote:
>
> There's a gui & cli option for "files".
>
> What's it "supposed" to do?
> How does this work?
> It asks for a "t
=/etc/resolv.conf
Cobbler will set that file for you.
Does this help? It’s a very basic example.
HTH.
Cheers,
Harry
On Jun 30, 2014, at 8:07 AM, Michael Tiernan wrote:
> On 6/30/14 7:59 AM, Harry Hoffman wrote:
>> Hi,
>> Straight from the manual...
> Grr... :)
>
> Okay, le
/30/14 9:02 AM, Harry Hoffman wrote:
>> So, if you had a template located on the cobbler server at
>> /srv/templates/etc_resolv_conf you can use cobbler templates do designate
> First off, thank you very much for your help and advice.
>
> I just want to clear up something obvi
Typo maybe? Cobbler support ISC dhcp/named or ... (Crap, blanking on the name
of the other one).
Cheers,
Harry
On Jul 16, 2014 7:05 AM, "Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY
SOLUTIONS INC] " wrote:
>
> Cobbler 2.6.1 RHEL 6.5
>
>
>
> When running cobbler check, I get
>
>
>
>
I would use them and have used them in the past, even filing a bug report when
they first broke.
Some sort of inheritance would be great for profiles.
Cheers,
Harry
On Jul 17, 2014 4:37 AM, =?ISO-8859-1?Q?J=F6rgen_Maas?=
wrote:
>
> Hi,
>
> I was just wondering who would use subprofiles ;-).
>
Hi Michael,
What does
rpm -q —scripts -p cobbler-2.6.3-7.1.noarch.rpm
report?
Cheers,
Harry
On Jul 23, 2014, at 9:11 AM, Michael Tiernan wrote:
> When trying to install on a Scientific Linux system using the CentOS6
> RPM, I get this error:
>
> Installing : cobbler-2.6.3-7.1.noarch
> Non
Hi Nirlay,
Cobbler has the potential to address your needs but it's important to
spell out the steps required to make it happen.
Usually folks do this sort of thing by dhcp client identifiers (MAC OUI,
dhcp options, etc.) and have the appropriate next server and filenames
set for tftp.
That's fa
Hi All,
Wondering if anyone is running cobblerd on CentOS 7? It seems that the
debmirror package isn't available and running cobbler check doesn't seem
to know what distribution it's running on, can't check httpd (even
though it's in the path
2 : Unknown distribution type, cannot check for runnin
Hi All,
Wondering if anyone's done any integration with cobbler and virsh?
I'm thinking about writing some triggers to create virtual systems based
off a new system creation in cobbler.
Anyone already gone down this path?
Cheers,
Harry
___
cobbler mai
Hi All,
I'm trying to find out if sub profiles have been fixed in 2.6.7-1
Cheers,
Harry
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
7;s a
problem I'll report back.
Cheers,
Harry
On 1/30/15 9:35 AM, Alan Evangelista wrote:
> On 01/27/2015 08:46 PM, Harry Hoffman wrote:
>> I'm trying to find out if sub profiles have been fixed in 2.6.7-1
>
> No. Reference:
> http://www.cobblerd.org/manuals/2.6.0/1/1_
Hi All,
It seems that the selinux policy for cobbler needs some updates:
#= cobblerd_t ==
allow cobblerd_t cert_t:dir search;
allow cobblerd_t cert_t:file { read getattr open };
allow cobblerd_t cert_t:lnk_file read;
allow cobblerd_t etc_t:file write;
allow cobblerd_t slap
Do you have SELINUX enabled? If so, you'll want to modify your policy
and restart cobblerd.
Cheers,
Harry
On 02/26/2015 07:09 PM, Scott Mattan wrote:
> I don't have specifics on why or what was done before this happened...
> as I typically use the command line anyway. However it seems that the
Hi Robin,
Are you sure the tftp-server is listening and there's not a firewall (host or
network based that's blocking communication to that tftp port)?
Does the client system get a dhcp address from the server?
Cheers,
Harry
On Apr 27, 2015 3:20 AM, Robin Casset wrote:
>
> Hello,
>
> My name
Hi All,
Running 2.6.9 on top of CentOS 7.x
I've got distros for Centos and RHEL (6.x, 7.x - x86-64).
Running buildiso and then taking generated.iso and dd'ing it to a USB stick via:
dd if=./generated.iso of=/dev/sdc
This method works for isos included in the RHEL DVDs but not for the cobbler
g
Thanks for all of the work you guys continue to put into Cobbler!
Cheers,
Harry
On Jan 23, 2016 9:18 AM, Jörgen Maas wrote:
>
> Hey all,
>
> We've just released Cobbler version 2.6.11. This release adds support for a
> few current distros and also fixes some bugs (most importantly the github.co
this sounds alot like flar archives for use in jumpstart.
It's been a while since I've messed with solaris (thank god!) but
jumpstart with flar archives used to work really well.
Cheers,
Harry
David Mackintosh wrote:
> On Wed, Jul 30, 2008 at 12:02:36PM -0400, Michael DeHaan wrote:
>
>> Comm
we're using dhcp mgmt but not dns.
cheers,
Harry
On Thu, 2008-08-14 at 11:30 -0400, Michael DeHaan wrote:
> Michael DeHaan wrote:
> > If you don't mind sharing, I'm curious about a few things.
> >
> > (A)
> >
> > How many cobbler objects do you have of each type?
> >
> > cobbler distro list | wc
Just a head's up.
rpmbuild -bb cobbler.spec
...
warning: File listed twice: /var/lib/cobbler/triggers/add/distro
>
On Tue, 2008-09-02 at 11:06 -0400, Michael DeHaan wrote:
> Cobbler 1.2.1-1 fixes merge issues present in 1.2.0-1.
>
> This has been pushed out to all of the builders and is now
Hi,
Just installed a new cobbler-1.2.1
I have a dhcp.template and I run the following:
[EMAIL PROTECTED] cobbler]# cobbler sync
bootloaders
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 77,
in main
rc = BootCLI().run(sys.argv)
File "/usr/lib/python2.4/site-packag
w00t! that's awesome as it fixes two things that bit me.
Thanks for all of the hard work!
Cheers,
Harry
Michael DeHaan wrote:
> Cobbler 1.2.2 contains bugfixes from 1.2.1, and is a continuation of the
> previous releases in support of the 1.2.0 stable branch. We will
> continue to address bug
line
101, in run
self.dhcp.write_dhcp_file()
File
"/usr/lib/python2.4/site-packages/cobbler/modules/manage_isc.py", line
233, in write_dhcp_file
metadata = {
Cheers,
Harry
Harry Hoffman wrote:
> w00t! that's awesome as it fixes two things that bit me.
>
&g
which 1.2 is this? I believe that particular error was fixed in 1.2.2
(but still existed in 1.2.1).
Cheers,
Harry
Demetri Mouratis wrote:
> On Sat, Sep 6, 2008 at 5:16 AM, Harry Hoffman <[EMAIL PROTECTED]> wrote:
>> Hmm, not quite there... running cobbler sync after the upgrade
intermittent patch.
HTH.
Cheers,
Harry
Demetri Mouratis wrote:
> On Sat, Sep 6, 2008 at 12:37 PM, Harry Hoffman
> <[EMAIL PROTECTED]> wrote:
>> which 1.2 is this? I believe that particular error was fixed in 1.2.2
>> (but still existed in 1.2.1).
>>
>> Cheers,
>
Ah, yep. that's the ticket, brand new cobbler install so no system
records yet.
Thanks!
Cheers,
Harry
Michael DeHaan wrote:
> Harry Hoffman wrote:
>> Hmm, not quite there... running cobbler sync after the upgrade (and
>> moving the new settings file into place):
&g
Doh!
[EMAIL PROTECTED] repo_mirror]# cobbler report
BootAPI instance has no attribute 'report'
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 77,
in main
rc = BootCLI().run(sys.argv)
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 57,
in run
This is awesome!
Can you integrate iptables into the %post snippet or should that just be
left as a exercise per deployment?
Cheers,
harry
Michael DeHaan wrote:
> I'm working on some features on the development branch (Cobbler 1.3 and
> later) that will make it very easy for admins to set up
Yep! that's exactly what I had in mind. This could extend out to other
services that would be configured at install time and ppl could chose
whether or not to enable the firewall rules via snippets :-)
Cheers,
Harry
Michael DeHaan wrote:
> Harry Hoffman wrote:
>> This is awes
Hi All,
I'm starting to look at the built in Config Mgmt with templates for
situations where cfengine/puppet cannot (for whatever reasons) be used.
I guess the first thing that came to mind is to have a default location
for templates so that it would be available via variables to cobbler.
Seems
Just upgraded to the latest cobbler from epel-testing... the
post-install script fails :-(
Updating : cobbler ### [ 5/10]
profile CentOS-5.2-x86_64 not found, inheritance not possible
Stopping cobbler daemon: [ OK ]
Starting cobbler daemon: Traceback (
see the profiles in there.
Should I erase and re-install cobbler? b/c I don't think that I'll be
able to just do a rpm -Uvh if the versions are the same.
Cheers,
Harry
Michael DeHaan wrote:
> Harry Hoffman wrote:
>> Just upgraded to the latest cobbler from epel-testing... the
>
root password hash is a bad idea! cobbler doesn't really protect those
directories and if the errant badguy would able to download the hash
they might be able to get the password through rainbow tables or brute
force.
what we do for our local users is use apg to create a default new
password. We d
Do you have syslinux installed?
rpm -qa |grep syslinux
On Tue, 2008-10-28 at 12:44 +, Tom Brown wrote:
> Firstly this is on a new setup so i dont actually know if this is an
> error as such yet but when in import a RHEL4 into cobbler thats running
> on Fedora 9 i get the following
>
> --
we pass them out via our configuration mgmt system.
Cheers,
Harry
On Thu, 2009-01-29 at 16:18 +, Tom Brown wrote:
> Hi
>
> We use cobbler to build a pretty stateless farm that can be rebuilt
> pretty fluidly pretty much all the time as you'd expect. I have however
> never really come up w
66 matches
Mail list logo