有人知道我可以在哪里找到用于安装 Ubuntu 15.04(或 15.10)桌面版本发行版的 preseed.cfg 文件吗?
我需要这个来用 Packer 创建一个 Vagrant 盒子。
然而,我已经有一个 preseed.cfg,它可以在 Ubuntu15 上正确运行,但仅适用于服务器版本。当我尝试使用桌面版本时,安装会因可用内存警告而停止(但不是真正的内存问题)。
谢谢你的供应
例如我已经使用这个preseed.cfg:
choose-mirror-bin mirror/http/proxy string
d-i base-installer/kernel/override-image string linux-server
d-i clock-setup/utc boolean true
d-i clock-setup/utc-auto boolean true
d-i finish-install/reboot_in_progress note
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i partman-auto-lvm/guided_size string max
d-i partman-auto/choose_recipe select atomic
d-i partman-auto/method string lvm
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm_write_new_label boolean true
d-i passwd/user-fullname string vagrant
d-i passwd/user-uid string 900
d-i passwd/user-password password vagrant
d-i passwd/user-password-again password vagrant
d-i passwd/username string vagrant
d-i pkgsel/include string openssh-server cryptsetup build-essential libssl-dev libreadline-dev zlib1g-dev linux-source dkms nfs-common
d-i pkgsel/install-language-support boolean false
d-i pkgsel/update-policy select unattended-upgrades
d-i pkgsel/upgrade select full-upgrade
d-i time/zone string UTC
d-i user-setup/allow-password-weak boolean true
d-i user-setup/encrypt-home boolean false
tasksel tasksel/first multiselect standard, ubuntu-server
冻结在此屏幕:
答案1
对于此特定屏幕,请尝试
ubiquity ubiquity/download_updates boolean true
ubiquity ubiquity/use_nonfree boolean true
您可能还想添加语言环境、国家/地区和键盘选项
ubiquity time/zone select America/Los_Angeles
ubiquity countrychooser/shortlist string US
ubiquity languagechooser/language-name string English
ubiquity localechooser/supported-locales string en_US.UTF-8
ubiquity keyboard-configuration/layoutcode string us
ubiquity console-setup/ask_detect boolean false