Hello all, I am having a problem getting preseed files to work with cobbler and was hoping for some help.
I filed a ticket here: https://fedorahosted.org/cobbler/ticket/344 Someone responded that I should bring this up in the mailing list, so here I go. Here I will basically past everything from the ticket with a little at the end about some recent developments: I am running cobbler 1.3.4 on FC8. I am successfully using it to automate Fedora Core 8 and 10 installations with my customized kickstarts. Truly, cobbler is fantastic, but I am having a lot of problems using it to preseed custom ubuntu installations. The short story: I can't get cobbler to use my preseed file. The long story: First off, using import results in the creation of various directories in /var/lib/cobbler and /var/www/cobbler, which is expected, but does /not/ produce a "repo" or "distro" as far as cobbler is concerned. After running a multitude of "cobbler sync" and "cobbler reposync" commands, restarting the cobbler daemon, more syncing, no matter what I do: when I ran "cobbler list" there were no repo, distro, or profile entries of ubuntu. I specifically named them all Ubuntu_8.04, and only fedora repos, distros, and profiles came up. So, I looked at the DebianDeployment page some more and basically did the old suggested steps of importing a full install disc as well as a netboot image. Neither import worked, so I did "cobbler repo add" and "cobbler distro add" with them and now they appear in "cobbler list" output. I used "cobbler edit" to make the normal Ubuntu distro use the kernel and initrd from the netboot image. Now, I have successfully gotten the Ubuntu installer to load over my network with PXE, but it is not sending the preseed file or I have no idea how to tell the computer being installed to pick it up. When I created the profile for this installation method, I used --kickstart=/path/to/preseedfile.cfg I also used breed=ubuntu on the distro. Anyone have any clues or suggestions? Thank you very much for your time. Addendum: I was able to just put up my preseed file elsewhere on my webserver and then added this kernel option to the cobbler profile: cobbler profile edit --name=Ubuntu_8.04 --kopts="lang=en_US preseed/url=http://myserver/ubuntu_ks/kickstart_Ubuntu8.04.cfg" This is probably not the method intended for using cobbler, but I was running out of ideas. This seemed to work, but now I am having an interesting problem loading the mirror that cobbler created. In the preseed file I am setting the mirror information up to use the mirror I created with "cobbler repo add" like so: ### Mirror settings # If you select ftp, the mirror/use_filesystem{ } filesystem{ ext3 } \ # mountpoint{ / } \country string does not need to be set. #d-i mirror/protocol string ftp d-i mirror/country string enter United States d-i mirror/http/hostname string 192.168.1.254 d-i mirror/http/directory string /cobbler/repo_mirror/Ubuntu_8.10 d-i mirror/http/proxy string I know for a fact that the server is visible, as this preseed is being loaded from that same IP address. I am confident, but not sure, that the preseed file is being loaded because I was getting an error when it was not finding it, and once I had a misspelling in it that raised an error, and now I don't get any error messages. It just keeps trying to connect to an external mirror. Well, that was a lot of information. Hopefully someone has a suggestion? Thank you so much for any hints you can offer me! Jayson _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
