在fedora上使用补鞋匠,以下是对我有用的:我添加了Web服务器上可用的发行版
sudo cobbler distro add --name=Install_Ubuntu_Server-11.04-x86_64 --kernel=/var/www/cobbler/mountedvd/x86_64/ubuntu/server/11.04/install/netboot/ubuntu-installer/amd64/linux --initrd=/var/www/cobbler/mountedvd/x86_64/ubuntu/server/11.04/install/netboot/ubuntu-installer/amd64/initrd.gz --arch=x86_64 --breed=debian
然后我添加一个配置文件。注意--kopts之后的内核选项
sudo cobbler profile add --name=Install_Ubuntu_Server-11.04-x86_64 --distro=Install_Ubuntu_Server-11.04-x86_64 --kickstart=/var/lib/cobbler/kickstarts/ubuntu_server.seed --kopts="auto=true, priority=critical lang=english locale=en_US console-keymaps-at/keymap=us hostname=ubuntu_server domain=domainname console-setup/ask_detect=false console-setup/layoutcode=us"
为了完整起见,这是我用于xubuntu安装的种子文件
d-i grub-installer/only_debian boolean true
d-i grub-installer/bootdev string hd0
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-auto/choose_recipe select atomic
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select Finish partitioning and write changes to disk
d-i partman/confirm boolean true
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string ntp.ubuntu.com
d-i console-setup/dont_ask_layout note
d-i console-keymaps-at/keymap select us
d-i mirror/suite string $suite
d-i mirror/country string enter information manually
d-i mirror/http/hostname string $hostname
d-i mirror/http/directory string $directory
d-i mirror/http/proxy string
d-i apt-setup/services-select multiselect security
d-i apt-setup/security_host string $hostname$directory-security
d-i apt-setup/volatile_host string $hostname$directory-volatile
finish-install finish-install/reboot_in_progress note
user-setup-udeb passwd/make-user boolean false
d-i passwd/user-fullname string ubuntu insert_default_user_here
d-i passwd/username string userkini
d-i passwd/user-password-crypted password insert_hashed password_here
clock-setup clock-setup/utc boolean false
tzsetup-udeb time/zone select America/New_York
d-i base-installer/kernel/override-image string linux-image-generic
d-i pkgsel/include string openssh-server vim build-essential
tasksel tasksel/first multiselect standard, xubuntu-desktop
d-i pkgsel/update-policy select none
d-i debian-installer/allow_unauthenticated string true
popularity-contest popularity-contest/participate boolean false