Created
November 12, 2012 11:28
-
-
Save bugcy013/4058833 to your computer and use it in GitHub Desktop.
preseed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d-i debian-installer/locale string en_US | |
d-i console-setup/layoutcode string en_US | |
d-i netcfg/choose_interface select eth0 | |
# Any hostname and domain names assigned from dhcp take precedence over | |
# values set here. However, setting the values still prevents the questions | |
# from being shown, even if values come from dhcp. | |
d-i netcfg/get_hostname string ubunutu-test | |
d-i netcfg/get_domain string dvindia.net | |
## Keyboard selection | |
d-i keyboard-configuration/layoutcode string us | |
# | |
#d-i debian-installer/locale string en_US | |
##d-i console-keymaps-at/keymap select us | |
#d-i console-setup/layoutcode string en_US | |
#d-i console-setup/ask_detect boolean false | |
#d-i keyboard-configuration/variantcode string | |
# | |
# | |
## Locale, language and country | |
#d-i debconf/language string en_US:en | |
#d-i debian-installer/country string NO | |
#d-i debian-installer/language string en_US:en | |
# | |
#d-i localechooser/preferred-locale string en_US.UTF-8 | |
#d-i localechooser/supported-locales en_US.UTF-8, nb_NO.UTF-8 | |
# | |
d-i clock-setup/utc boolean true | |
d-i time/zone string US/Eastern | |
d-i clock-setup/ntp boolean true | |
d-i clock-setup/ntp-server pool.ntp.org | |
d-i netcfg/choose_interface select auto | |
d-i mirror/protocol string http | |
d-i mirror/country string manual | |
#d-i mirror/http/hostname string ubutnuserver.dv.net | |
d-i mirror/http/hostname string 192.168.70.159 | |
d-i mirror/http/directory string /ubuntu | |
#d-i mirror/suite string precise | |
d-i mirror/http/proxy string | |
#d-i netcfg/wireless_wep string | |
###########Mirror Settings########## | |
#d-i mirror/country string manual | |
##d-i mirror/country string enter information manually | |
#d-i mirror/protocol string http | |
##d-i mirror/http/hostname string 192.168.70.25 | |
##d-i mirror/http/hostname select 192.168.70.25 | |
#d-i mirror/http/hostname select 192.168.70.25 | |
##d-i mirror/http/hostname string archive.ubuntu.com | |
#d-i mirror/http/directory string /ubuntu | |
#d-i mirror/http/proxy string | |
#d-i mirror/suite string | |
##d-i mirror/udeb/suite string precise | |
### | |
#choose-mirror-bin mirror/protocol string http | |
#choose-mirror-bin mirror/http/hostname string 192.168.70.25 | |
#choose-mirror-bin mirror/http/directory string /ubuntu | |
#choose-mirror-bin mirror/suite select precise | |
#choose-mirror-bin mirror/http/proxy string | |
##Release file authentication | |
d-i debian-installer/allow_unauthenticated string true | |
##################################################### | |
# Make sure my local mirror will land in /etc/apt/sources.list when | |
# we're all done here. | |
d-i apt-setup/local0/repository string http://192.168.70.159/ubuntu/ precise main restricted multiverse universe | |
#d-i apt-setup/hostname string 192.168.70.25 | |
#d-i apt-setup/directory string /ubuntu/ | |
#d-i apt-setup/another boolean false | |
#d-i apt-setup/security-updates boolean false | |
## installation of non-free,contrib packages # | |
#d-i apt-setup/contrib boolean true | |
#d-i apt-setup/backports boolean true | |
#d-i apt-setup/multiverse boolean true | |
#d-i apt-setup/non-free boolean true | |
#d-i apt-setup/proposed boolean true | |
#d-i apt-setup/universe boolean true | |
#################################################################### | |
# Disk Partitioning/Boot loader | |
#################################################################### | |
d-i partman-auto/disk string /dev/sda | |
d-i partman-auto/method string regular | |
d-i partman-auto/purge_lvm_from_device boolean true | |
d-i partman-lvm/device_remove_lvm boolean true | |
d-i partman-md/device_remove_md boolean true | |
d-i partman-lvm/confirm boolean true | |
d-i partman-auto/choose_recipe select atomic | |
d-i partman-auto/expert_recipe string \ | |
boot-root :: \ | |
150 160 250 ext4 \ | |
$primary{ } $bootable{ } \ | |
method{ format } format{ } \ | |
use_filesystem{ } filesystem{ ext4 } \ | |
mountpoint{ /boot } \ | |
. \ | |
500 10000 1000000000 ext4 \ | |
method{ format } format{ } \ | |
use_filesystem{ } filesystem{ ext4 } \ | |
mountpoint{ / } \ | |
. \ | |
64 512 300% linux-swap \ | |
method{ swap } format{ } \ | |
. | |
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 partman/confirm_nooverwrite boolean true | |
####d-i partman-auto/disk string /dev/sda | |
####d-i partman-auto/method string regular | |
#### | |
##### This makes partman automatically partition without confirmation. | |
####d-i partman/confirm boolean true | |
####d-i partman/confirm_nooverwrite boolean true | |
####d-i partman-partitioning/confirm_write_new_label boolean true | |
#### | |
####d-i partman/choose_partition select finish | |
#d-i partman-auto/disk string /dev/sda | |
#d-i partman-auto/method string lvm | |
#d-i partman-auto-lvm/guided_size string max | |
# | |
#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 | |
#d-i partman/confirm boolean true | |
#d-i passwd/root-login boolean true | |
#d-i passwd/make-user boolean true | |
#d-i passwd/root-password password dv1india!17 | |
#d-i passwd/root-password-again password dv1india!17 | |
#d-i passwd/root-password-crypted password $1$HtK/7tAe$XFViy08BhswF7UMeaG4Cr1 | |
#d-i passwd/user-fullname string DeepValue | |
#d-i passwd/username string deepvalue | |
d-i passwd/username string | |
d-i passwd/user-password password ubuntu | |
d-i passwd/user-password-again password ubuntu | |
d-i user-setup/allow-password-weak boolean true | |
d-i passwd/user-default-groups string audio cdrom video | |
d-i user-setup/encrypt-home boolean false | |
tasksel tasksel/first multiselect ubuntu-desktop | |
#tasksel tasksel/first multiselect ubuntu-server | |
#tasksel tasksel/first multiselect standard | |
#d-i pkgsel/include string ncftp cvs maven2 vim openssh-server build-essential dpkg-dev fakeroot ssh curl | |
d-i pkgsel/include string ncftp git cvs maven2 vim chromium-browser r-base openssh-server build-essential dpkg-dev fakeroot pidgin filezilla openjdk-6-jre gnome-do eclipse vlc ssh curl gnome-panel | |
#d-i pkgsel/include string ncftp cvs vim openssh-server build-essential dpkg-dev fakeroot ssh mysql-server | |
#d-i pkgsel/include string openssh-server wine1.4 | |
d-i pkgsel/update-policy select none | |
# This is fairly safe to set, it makes grub install automatically to the MBR | |
# # if no other operating system is detected on the machine. | |
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 | |
xserver-xorg xserver-xorg/config/monitor/selection-method \ | |
select medium | |
xserver-xorg xserver-xorg/config/monitor/mode-list \ | |
select 1024x768 @ 60 Hz | |
#mysql-server-5.5 mysql-server/root_password Hereweg0 | |
#mysql-server-5.5 mysql-server/root_password_again Hereweg0 | |
#mysql-server-5.5 mysql-server-5.5/start_on_boot boolean true | |
d-i preseed/late_command string in-target wget http://192.168.70.159/postpreseed.sh; in-target /bin/bash -x chmod 755 ./postpreseed.sh; in-target /bin/bash -x ./postpreseed.sh; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment