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 system so that I can remotely create VMs on it.
The stupid question is, what's the recommended way to automatically install koan on the new Xen host?
I'm sure this is a FAQ, but searching on "koan kickstart" returns just about every page in the wiki. After an hour of serious googling, I've learned a lot, but not the answer to this question.
I did add EPEL as a repository to the new system, hoping then I could just add "koan" as a package in the kickstart, but it seems the new repository isn't available during install, only afterwards.
Any help appreciated!
Thanks, Larry Matter
Hi Larry,
You can add the repo during install with the repo keyword in the kickstart file.
repo --name=<repoid> [--baseurl=<url>| --mirrorlist=<url>]
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 system so that I can remotely create VMs on it.
The stupid question is, what's the recommended way to automatically install koan on the new Xen host?
I'm sure this is a FAQ, but searching on "koan kickstart" returns just about every page in the wiki. After an hour of serious googling, I've learned a lot, but not the answer to this question.
I did add EPEL as a repository to the new system, hoping then I could just add "koan" as a package in the kickstart, but it seems the new repository isn't available during install, only afterwards.
Any help appreciated!
Thanks, Larry Matter _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
I did this from my fedora 10 box:
# repoquery --location koan http://ftp.tlk-l.net/pub/mirrors/fedora/updates/10/i386//koan-1.6.6-1.fc10.n...
# rpm -ivh http://ftp.tlk-l.net/pub/mirrors/fedora/updates/10/i386//koan-1.6.6-1.fc10.n...
That should do it.
Paul
On Sat, Jul 11, 2009 at 4:08 PM, Larry Mattercm-cobbler@matter.net 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 system so that I can remotely create VMs on it.
The stupid question is, what's the recommended way to automatically install koan on the new Xen host?
I'm sure this is a FAQ, but searching on "koan kickstart" returns just about every page in the wiki. After an hour of serious googling, I've learned a lot, but not the answer to this question.
I did add EPEL as a repository to the new system, hoping then I could just add "koan" as a package in the kickstart, but it seems the new repository isn't available during install, only afterwards.
Any help appreciated!
Thanks, Larry Matter _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Thanks Paul and Harry. Your suggestions turned on a few lightbulbs. I think I figured out the problem.
I originally created my EPEL repository as "mirror-locally=0" as I only wanted it for koan (at this point). But this causes the $yum_repo_stanza to use the actual baseurl in the kickstart repo line (with the FQDN instead of IP), and since the target system is getting its network configured via DHCP, it doesn't have a resolv.conf yet.
I changed the repo to be "--mirror-locally=1 --rpm-list=koan" and then did a reposync. The kickstart now references the local cobbler repo via IP and it works.
Now if I can just figure out a way to have ssh ignore "known_hosts" so I don't have to edit it every time I reinstall and want to log into the xen host...
Larry
Larry Matter wrote:
Now if I can just figure out a way to have ssh ignore "known_hosts" so I don't have to edit it every time I reinstall and want to log into the xen host...
Did you look at keep_ssh_host_keys snippet?
Leon
Larry _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Larry Matter wrote:
Now if I can just figure out a way to have ssh ignore "known_hosts" so I don't have to edit it every time I reinstall and want to log into the xen host...
Did you look at keep_ssh_host_keys snippet?
Thanks, that did it (once I put it in %pre).
Larry
cobbler@lists.fedorahosted.org