Now I'm looking at cobbler/koan to glue together things and
provide
also provisioning for physical and virtual servers. Unfortunately I
have to configure/manage it on the same big box....
I configured cobbler to use dnsmasq and I thought that this way it
would pick up the already configured one.
Instead it seems to me that it overwrote completely my previous
/etc/dnsmasq.conf file ....
Is there any way to let cobbler use an externally configured dnsmasq
or by design it has to manage it?
At this moment I have
Cobbler writes DHCP and DNS management via templates in /etc/cobbler,
which /should/ be documented on the Wiki. If you think that information
can be improved and have suggestions, let us know. You can add your
own content to the templates and it will continue to write them, but
Cobbler is not intelligent enough to know how to manipulate existing
config files.
Where does it pick the 192.168 address range....? Suppose I want to
have cobbler manage dhcp, where I configure the range? If I modify
dnsmasq.conf and then run "cobbler sync" do I risk to overwrite again
my changes?
You can choose any range in the template you like.
Eventually it could be nice to have cobbler making a backup copy
(luckily I had it) before overwrite....
I think that overwrite happened when I ran
cobbler import --path=/mnt --name=rhel4.8 --arch=x86
after mounting an iso of rhel4.8 x86....
btw: what is the difference between --path and --mirror? Perhaps the
former can only manage local paths, while the latter also Uri such as
http/nfs...? I didn't find clear answer...
Let's keep one discussion topic per email thread please, it makes easier
to follow.
--path and --mirror are just aliases to support backwards
compatibility actually.
- in /etc/cobbler settings I have
default_virt_type: qemu
but it seems cobbler configured the guest with the mac address used
for xen (initial 00:16:3e) instead of the one for qemu (52:54:00)
Newer versions of Cobbler will use one of the private ranges. I thought
1.6.6 did but it's been a while so I can't remember. That won't hurt
anything though.