ubuntu cobbler server - importing distros
Posted
by
Stu2000
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Stu2000
Published on 2012-12-13T16:41:30Z
Indexed on
2012/12/13
17:16 UTC
Read the original article
Hit count: 366
I setup and fully configured ubuntu-12.04-server machine with cobbler/dhcp running in about 10 minutes (compared to taking over an hour on centos 5.8). I discovered the cobbler import which appears to be useful. Does this remove the need to use a cobbler distro add? whenever I run a cobbler report after a successful import of ubuntu desktop iso:
sudo cobbler import --name=Ubuntu --path=/mnt --breed=debian
task started: 2012-12-13_163245_import
task started (id=Media import, time=Thu Dec 13 16:32:45 2012)
Found a debian/ubuntu compatible signature: pool
adding distros
avoiding symlink loop
avoiding symlink loop
avoiding symlink loop
associating repos
associating kickstarts
*** TASK COMPLETE ***
I just get the following (nothing):
distros:
==========
profiles:
==========
systems:
==========
repos:
==========
images:
==========
mgmtclasses:
==========
packages:
==========
files:
==========
I was rather hoping that I wouldn't have to do the traditional copying of all files in /mnt to a new /distro directory and then perform a cobbler distro add --initrd=/path/to/inird --kernel=/path/to/kernel
Maybe I am mistaken about what the import actually does for me. If someone could elaborate on what the import is actually for please do.
© Ask Ubuntu or respective owner