⑴.ubuntu-server.seed
⑵vi /var/www/ubuntu/ubuntu-server.seed# Suggest LVM by default.
⑶d-i partman-auto/init_automatically_partition stringsome_device_lvm
⑷d-i partman-auto/init_automatically_partition seen false
⑸# Always install the server kernel.
⑹d-i base-installer/kernel/override-image string linux-server
⑺# Install the Ubuntu Server seed.
⑻tasksel tasksel/force-tasks string server
⑼# Only install basic language packs.
⑽d-i pkgsel/language-pack-patterns string
⑾# No language support packages.
⑿d-i pkgsel/install-language-support boolean false
⒀# Only ask the UTC question if there are
⒁d-i clock-setup/utc boolean false
⒂d-i clock-setup/ntp boolean false
⒃d-i apt-setup/use_mirror boolean false
⒄d-i cfg/get_ipaddress string ...
⒅d-i mirror/ string ...
⒆d-i apt-setup/restricted boolean false
⒇# No boot splash screen.
⒈d-i debian-installer/splash boolean false
⒉# Install the debconf oem-config frontend (if in OEM mode).
⒊d-i oem-config-udeb/frontend string debconf
⒋# Add the work and tasks oem-config steps by default.
⒌oem-config oem-config/steps multiselect language,
⒍timezone, keyboard, user, work, tasks
⒎以上就是利用PXE安装虚拟机的方法了。值得注意的一点是我们如果要用虚机为pxeclient测试的话,应每测试一次新建一个虚机。