Re: [cobbler] Installing Ubuntu from cobbler.
by Nagy-Egri Máté Ferenc
Hi!
I have recently got Cobbler to boot an Ubuntu Server. While I am using DHCP, which you are not, I cannot help you with the /etc/hosts part. As for the kickstart, I have created a commented preseed file, which might prove useful to you.
Preseed is extremely undocumented, I cannot believe how such a core feature remain so vaguely documented after years. There are tutorials explaining how to setup partitioning, so that should not be a problem. I believe the official preseed documentation on Debian host is a long and explained example, however it does not feature all of the options available in preseed. Partitioning though is shown.
As for the repos, to have a working install, you will need the debmirror package, as cobbler will invoke it when mirroring apt repos. When you import an ubuntu distro, it will mirror for you the main and restricted repos that are essential to an install. You can initiate repo download with the cobbler reposync commmand. The two repos take a few Gigs, so depending on your network, it can take some time.
Should you have any other questions, I’ll try to answer them, though I am a Cobbler newbie myself.
Feladó: Chris Johnson
Elküldve: szerda, 2014. július 9. 21:04
Címzett: cobbler(a)lists.fedorahosted.org, R. Christopher Johnson
Hi, I haven't kept up with this thread as closely as I'd like, Cobbler
was not originally written with Ubuntu in mind, I believe it was a
CentOS tool at first. And I have cobbler running on a VBox VM
provisioning a virtual mini-cluster with CentOS across several real
hosts as well as puppet. I'd like to try a PXE install of Ubuntu. As I
recall there has been debate on this subject. The documentation I've
found uses DHCP which I'm not using, an Ubuntu mini (which asks no
question) and I'm completely unclear on what repo I'd need. I understand
Ubuntu does has a kickstart system. I don't know how closely related it
is to the CentOS kickstart.
Is there any documentation on installing Ubuntu via cobbler using a
simple /etc/hosts table, not DHCP, and a kickstart? Or has anyone done
this and can give some serious hints/help/advise?
I need to know where to get an Ubuntu repo the would work with cobbler,
what cobbler reconfigs would be necessary if any, and a simple one
partition one swap file kickstart for it. If it's possible at all of
course. I recall there having been progress in this direction but
unclear on how much.
Thank you.
Chris J.
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
9 years, 10 months
Missing the obvious again.
by Michael Tiernan
I can create a system and declare it as having the status "Development"
or any of three other values, what I'd like to be able to do is then
reference that in a kickstart template but I'll be darned if I can find it.
Does it have another name some other place or does it not get
transmitted to the cheeta rewrite?
On another "subject", for clarification (if anyone cares), my previous
confusion with the "fetchable files" was borne out of a symantic issue.
I assumed two types of files based on the names "Fetchable Files" and
"Template Files", my understanding (for whatever reason) was that a
"Template File" was "processed" (as it is) via the cheeta template process.
The real asumption on my part was that a "Fetchable" file was left
unmolested and transferred "as-is" in a simple file transfer process. It
would be via this process that something such as a binary file could be
provided to a system without interpretation.
So, now I know. :)
9 years, 10 months
CentOS 7 support
by Jörgen Maas
Hi all,
As of now CentOS 7.0 can be imported into Cobbler, but you'll need the
updated signatures for this. You can update the signature database by
issuing the following command (only applicable to 2.4.0 and better):
# cobbler signature update
For running Cobbler on CentOS 7 patches have been merged into the master
and release26 branches, minor updates to Cobbler 2.4 and 2.6 will be
released shortly.
Hope this answers most questions wrt CentOS 7.0 support in Cobbler
--
Grtz,
Jörgen Maas
9 years, 10 months
Installing Ubuntu from cobbler.
by Chris Johnson
Hi, I haven't kept up with this thread as closely as I'd like, Cobbler
was not originally written with Ubuntu in mind, I believe it was a
CentOS tool at first. And I have cobbler running on a VBox VM
provisioning a virtual mini-cluster with CentOS across several real
hosts as well as puppet. I'd like to try a PXE install of Ubuntu. As I
recall there has been debate on this subject. The documentation I've
found uses DHCP which I'm not using, an Ubuntu mini (which asks no
question) and I'm completely unclear on what repo I'd need. I understand
Ubuntu does has a kickstart system. I don't know how closely related it
is to the CentOS kickstart.
Is there any documentation on installing Ubuntu via cobbler using a
simple /etc/hosts table, not DHCP, and a kickstart? Or has anyone done
this and can give some serious hints/help/advise?
I need to know where to get an Ubuntu repo the would work with cobbler,
what cobbler reconfigs would be necessary if any, and a simple one
partition one swap file kickstart for it. If it's possible at all of
course. I recall there having been progress in this direction but
unclear on how much.
Thank you.
Chris J.
9 years, 10 months
Unable to install Centos 7 with cobbler.
by me@tdiehl.org
Hi,
Is anyone able to successfully installing Centos-7-1406 using cobbler?
When I try to pxe boot I get a message that says
"unable to retrieve http://mydomain.com/CentOS/7/os/x86_64//images/install.img"
A Little googling says that it should be looking for LiveOS/squashfs.img.
If I point the installer at the squashfs.img I get a progress bar that looks
like it is reading in the file but then it fails with an error that says
"Unable to retrieve http://mydomain.com/CentOS/os/x86_64/LiveOS/squashfs.img"
I see the following in the HTTP logs:
==> httpd/error_log <==
[Tue Jul 08 08:27:03 2014] [error] [client 192.168.0.37] File does not exist: /home/mirrors/ftp/pub/CentOS/7/os/x86_64/LiveOS/updates.img
==> httpd/access_log <==
yumrepo.mydomain.com 37-dhcp.mydomain.com - - [08/Jul/2014:08:27:03 -0400] "GET /CentOS/7/os/x86_64/LiveOS/updates.img HTTP/1.1" 404 320 "-" "anaconda/13.21.215"
==> httpd/error_log <==
[Tue Jul 08 08:27:03 2014] [error] [client 192.168.0.37] File does not exist: /home/mirrors/ftp/pub/CentOS/7/os/x86_64/LiveOS/product.img
==> httpd/access_log <==
yumrepo.mydomain.com 37-dhcp.mydomain.com - - [08/Jul/2014:08:27:03 -0400] "GET /CentOS/7/os/x86_64/LiveOS/squashfs.img HTTP/1.1" 200 292278272 "-" "anaconda/13.21.215"
and then it fails.
Does anyone know how to fix cobbler so that I can install Centos-7?
Regards,
--
Tom me(a)tdiehl.org Spamtrap address me123(a)tdiehl.org
9 years, 10 months
Support of CentOS 7-0.1406 with cobbler 2.4.4
by Jonathan Brenes F.
I was trying to add the new CentOS 7-0.1406 and I received this error:
Mon Jul 7 17:45:53 2014 - DEBUG | Found a candidate signature:
breed=redhat, version=rhel6
Mon Jul 7 17:45:53 2014 - DEBUG | Found a candidate signature:
breed=redhat, version=rhel7
Mon Jul 7 17:45:53 2014 - DEBUG | Found a candidate signature:
breed=redhat, version=fedora20
Mon Jul 7 17:45:53 2014 - DEBUG | Found a candidate signature:
breed=redhat, version=fedora16
Mon Jul 7 17:45:54 2014 - DEBUG | Found a candidate signature:
breed=redhat, version=fedora17
Mon Jul 7 17:45:54 2014 - DEBUG | Found a candidate signature:
breed=redhat, version=fedora18
Mon Jul 7 17:45:54 2014 - DEBUG | Found a candidate signature:
breed=redhat, version=fedora19
Mon Jul 7 17:45:54 2014 - ERROR | No signature matched in
/var/www/cobbler/ks_mirror/centos7-0.1406-x86_64
Mon Jul 7 17:45:54 2014 - ERROR | ### TASK FAILED ###
I was looking into distro_signatures.json and I didn't find the problem
"rhel7": {
"signatures":["Packages"],
"version_file":"(redhat|sl|centos)-release-(?!notes)([\\w]*-)7*.\\.rpm",
Actual package name is centos-release-7-0.1406.el7.centos.2.3.x86_64.rpm
Any ideas how to fix this?
9 years, 10 months
cobbler reposync and yum options
by Dan White
Created a yum-repo :
cobbler repo report --name=local-HP-ServicePackforProLiant-x86_64
Name : local-HP-ServicePackforProLiant-x86_64
Apt Components (apt only) : []
Apt Dist Names (apt only) : []
Arch : x86_64
Breed : yum
Comment : Local HP Service Pack for RHEL 6 ProLiant (x86_64)
Createrepo Flags : <<inherit>>
Environment Variables : {}
Keep Updated : True
Mirror : http://downloads.linux.hp.com/repo/spp/rhel/6.5/x86_64/current
Mirror locally : True
Owners : ['admin']
Priority : 99
RPM List : []
Yum Options : {'gpgcheck': '1', 'gpgkey': 'http://downloads.linux.hp.com/repo/spp/GPG-KEY-ServicePackforProLiant', 'includepkgs': 'hp-health,hp-snmp-agents,hponcfg,hpacucli,hp-ilo'}
But when I do this:
cobbler reposync --tries=3 --only=local-HP-ServicePackforProLiant-x86_64
...the generated commands ignore all of the Yum Options.
The file <web root.>/cobbler/repo_mirror/.origins/local-HP-ServicePackforProLiant-x86_64.repo contains none of the options.
If I add the options to the file and run the reposync command by hand, the options work.
Is this a bug ? Or do I need to create a feature request to get the options into the generated repo file ?
“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)
9 years, 10 months