|
|

楼主 |
发表于 2006-10-18 11:16:55
|
显示全部楼层
preseed更新一下,
有时区的修改,以前默认的是US的东部时间了.
[php]
d-i languagechooser/language-name-fb select English
d-i languagechooser/language-name select English
d-i countrychooser/shortlist-en select US
d-i console-keymaps-at/keymap select us
d-i debian-installer/locale select en_US.UTF-8
d-i console-tools/archs select at
d-i netcfg/choose_interface select auto
#d-i netcfg/choose_interface select eth0
d-i netcfg/disable_dhcp boolean true
d-i netcfg/get_nameservers string 202.106.196.115
d-i netcfg/get_ipaddress string 192.168.2.144
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 192.168.2.1
d-i netcfg/confirm_static boolean true
d-i netcfg/get_hostname string grandi
d-i netcfg/get_domain string
d-i netcfg/wireless_wep string
d-i mirror/bad error
d-i mirror/codename string
d-i mirror/country string
d-i mirror/http/countries select US
d-i mirror/http/directory string /debian/
d-i mirror/http/hostname string
d-i mirror/http/mirror select ftp.debian.org
d-i mirror/http/proxy string
d-i mirror/noarch error
d-i mirror/protocol select http
d-i mirror/suite select
# Suite to install.
#d-i mirror/suite string testing
# Suite to use for loading installer components (optional).
#d-i mirror/udeb/suite string testing
#d-i partman-auto/disk string /dev/hda
#d-i partman-auto/expert_recipe string boot-root :: 20 50 100 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . 500 10000 1000000000 ext3 method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 64 512 300% linux-swap method{ swap } format{ } .
d-i partman-auto/expert_recipe string boot-root :: 500 10000 700 reiserfs $primary{ } method{ format } format{ } use_filesystem{ } filesystem{ reiserfs } mountpoint{ /tmp } . 200 512 300% linux-swap method{ swap } format{ } . 700 100000 100000000 reiserfs $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ reiserfs } mountpoint{ / } .
#d-i partman-auto/expert_recipe string boot-root :: 700 100000 1000000000 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 200 512 300% linux-swap method{ swap } format{ } . 500 500 700 ext3 method{ format }format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /tmp } .
#d-i partman-auto/text/home_scheme :: 700 100000 1000000000 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 200 512 300% linux-swap method{ swap } format{ } . 500 500 700 ext3 method{ format }format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /tmp } .
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 countrychooser/country-name select China
#d-i debian-installer/country string CN
d-i time/zone string Asia/Shanghai
### Apt setup
# You can choose to install non-free and contrib software.
#d-i apt-setup/non-free boolean true
#d-i apt-setup/contrib boolean true
d-i apt-setup/contrib boolean false
d-i apt-setup/mirror/error select Retry
d-i apt-setup/non-free boolean false
d-i apt-setup/security_host string
d-i apt-setup/security-updates-failed error
d-i apt-setup/use_mirror boolean false
d-i passwd/root-password password password
d-i passwd/root-password-again password password
d-i passwd/user-fullname string grandi
d-i passwd/username string grandi
d-i passwd/user-password password grandi
d-i passwd/user-password-again password grandi
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note
#d-i preseed/early_command string anna-install some-udeb
#d-i preseed/run string
#d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
#d-i preseed/run string /cdrom/scripts/config.sh
d-i preseed/late_command string apt-install ssh apache2 php5-mysql;apt-install libapache2-mod-php5 mysql-server-5.0 vim python-paste python-pastescript python-formencode python-turbogears python-sqlobject python-turbokid python-configobj python-cheetah python-cherrypy python-celementtree python-elementtree cracklib2 expat rcconf php-pear libapache2-mod-scgi sysfsutils python-xml sysfsutils slocate psmisc procps procmail libpcre3 libjpeg62 libpng12-0 libpopt0 sqlite3 libslang1 slocate python-sqlite hesiod attr hwdata python-libxslt1 libxslt1.1;sh /cdrom/scripts/config.sh;
[/php] |
|