2019/12/03

pxe 자동화 부팅 설정 파일

# *****************************************************************************
# Contents of the preconfiguration file (for ubuntu) : x86/amd64
# *****************************************************************************
# d-i debconf/priority select high
# == Localization =============================================================
d-i     debian-installer/locale string en_US.UTF-8
d-i     debian-installer/splash boolean false
d-i     console-setup/ask_detect        boolean false
d-i     console-setup/layoutcode        string us
d-i     console-setup/variantcode       string

# -- Keyboard selection. ------------------------------------------------------
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/modelcode string auto
d-i keyboard-configuration/layoutcode string us
# d-i keyboard-configuration/variantcode string dvorak

# == Network configuration ====================================================
# d-i netcfg/enable boolean false
d-i netcfg/choose_interface select auto
# d-i netcfg/choose_interface select eth1
# d-i netcfg/dhcp_timeout string 60
# d-i netcfg/disable_autoconfig boolean true
# d-i netcfg/dhcp_failed note
# d-i netcfg/dhcp_options select Configure network manually

# -- IPv4 ---------------------------------------------------------------------
# d-i netcfg/get_ipaddress string 192.168.1.1
# d-i netcfg/get_netmask string 255.255.255.0
# d-i netcfg/get_gateway string 192.168.1.254
# d-i netcfg/get_nameservers string 192.168.1.254
# d-i netcfg/get_nameservers string 192.168.1.1 192.168.1.254 8.8.8.8 8.8.4.4 208.67.222.123 208.67.220.123
# d-i netcfg/get_domain string workgroup
# d-i netcfg/confirm_static boolean true

# -- IPv6 ---------------------------------------------------------------------
# d-i netcfg/get_ipaddress string fc00::2
# d-i netcfg/get_netmask string ffff:ffff:ffff:ffff::
# d-i netcfg/get_gateway string fc00::1
# d-i netcfg/get_nameservers string fc00::1
# d-i netcfg/confirm_static boolean true
# -- Host name and Domain name ------------------------------------------------
d-i netcfg/get_hostname string fari-LINE-FLATFROM
d-i netcfg/get_domain string workgroup
# d-i netcfg/hostname string somehost

# -- Disable that annoying WEP key dialog. ------------------------------------
d-i netcfg/wireless_wep string

# -- The wacky dhcp hostname that some ISPs use as a password of sorts. -------
# d-i netcfg/dhcp_hostname string radish
# -- non-free firmware is needed for the network or other hardware ------------
# d-i hw-detect/load_firmware boolean true
# -----------------------------------------------------------------------------
# d-i preseed/run string /prescript.sh

# == Network console ==========================================================
# d-i anna/choose_modules string network-console
# d-i network-console/authorized_keys_url string http://10.0.0.1/openssh-key
# d-i network-console/password password install
# d-i network-console/password-again password install

# == Mirror settings ==========================================================
# d-i mirror/protocol string ftp
d-i mirror/country string KR
d-i mirror/protocol string http
#d-i mirror/http/hostname string kr.archive.ubuntu.com
#d-i mirror/http/hostname string ftp.daumkakao.com
d-i mirror/http/hostname string yakkety.fw.fairlineai.net
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string
#d-i mirror/http/mirror select kr.archive.ubuntu.com
d-i mirror/http/mirror select yakkety.fw.fairlineai.net

# -- Suite to install. --------------------------------------------------------
# d-i mirror/suite string testing
# d-i mirror/udeb/suite string testing

# == Account setup ============================================================
# nautilus79 root login
#d-i passwd/root-login boolean true
#d-i passwd/make-user boolean true

# -- Root password, either in clear text --------------------------------------
# nautilus79 root password
#d-i passwd/root-password password rootroot
#d-i passwd/root-password-again password rootroot
# d-i passwd/root-password-crypted password [MD5 hash]

# -- To create a normal user account. -----------------------------------------
d-i passwd/user-fullname string fairlineai-FINE-OS
d-i passwd/username string fairlineai

# -- Normal user's password, either in clear text -----------------------------
d-i passwd/user-password password ********
d-i passwd/user-password-again password ********
# d-i passwd/user-password-crypted password [MD5 hash]

# -- Create the first user with the specified UID instead of the default. -----
# d-i passwd/user-uid string 1010
# -- The installer will warn about weak passwords. ----------------------------
d-i user-setup/allow-password-weak boolean true
# -- The user account will be added to some standard initial groups. ----------
# d-i passwd/user-default-groups string audio cdrom video
# -- Set to true if you want to encrypt the first user's home directory. ------
d-i user-setup/encrypt-home boolean false
# == Clock and time zone setup ================================================
d-i clock-setup/utc boolean true
d-i time/zone string Asia/Seoul
# -- Controls whether to use NTP to set the clock during the install ----------
d-i clock-setup/ntp boolean true
# -- NTP server to use. The default is almost always fine here. ---------------
d-i clock-setup/ntp-server string 0.pool.ntp.org
# == Partitioning =============================================================
# d-i partman-auto/init_automatically_partition select biggest_free
# -----------------------------------------------------------------------------
d-i partman-auto/disk string /dev/sda
# d-i partman-auto/disk string /dev/sda /dev/sdb
# d-i partman-auto/disk string /dev/sda /dev/sdb /dev/sdc /dev/sdd
# -----------------------------------------------------------------------------
d-i partman-auto/method string regular
# d-i partman-auto/method string lvm
# d-i partman-auto/method string crypto
# d-i partman-auto/method string raid
# -----------------------------------------------------------------------------
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-lvm/confirm_nooverwrite boolean true
# -----------------------------------------------------------------------------
d-i partman-auto/choose_recipe select atomic
# d-i partman-auto/choose_recipe select home
# d-i partman-auto/choose_recipe select multi
# -----------------------------------------------------------------------------
# d-i partman-auto/expert_recipe_file string /hd-media/recipe
# -- Partitioning using RAID --------------------------------------------------
#   /      : 5120MB : ext4 : /dev/sda1 : ext4  : /dev/sd[a  ]1
#   swap   : 1024MB : swap : /dev/sda5 : swap  : /dev/sd[a  ]5
#   /share :  ~ end : ext4 : /dev/sda6 : ext4  : /dev/sd[a  ]6
# d-i partman-auto/expert_recipe string \
#   boot-root :: \
#      5120 1  5120 ext4 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /      } . \
#      1024 2  300% swap $logical{ }              method{ swap   } format{ }                                                           . \
#     10240 3    -1 ext4 $logical{ }              method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /share } .
# d-i partman-auto/expert_recipe string \
#   multiraid :: \
#      5120 1  5120 raid $primary{ } $bootable{ } method{ raid } format{ } . \
#      1024 2  300% raid $logical{ }              method{ raid } format{ } . \
#     10240 3    -1 raid $logical{ }              method{ raid } format{ } .
# d-i partman-auto-raid/recipe string \
#   1 2 0 ext4 /      /dev/sda1#/dev/sdb1 . \
#   1 2 0 swap -      /dev/sda5#/dev/sdb5 . \
#   1 2 0 ext4 /share /dev/sda6#/dev/sdb6 .
# d-i partman-md/confirm boolean true
# -- This makes partman automatically partition without confirmation. ---------
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
# -- Controlling how partitions are mounted -----------------------------------
# d-i partman/mount_style select uuid
# == Base system installation =================================================
# d-i base-installer/install-recommends boolean false
# d-i base-installer/kernel/image string linux-image-amd64
# == Apt setup ================================================================
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
# d-i apt-setup/use_mirror boolean false
# d-i apt-setup/services-select multiselect security, updates
# d-i apt-setup/security_host string security.ubuntu.com
# -- Additional repositories, local[0-9] available ----------------------------
# d-i apt-setup/local0/repository string http://local.server/ubuntu yakkety main
# d-i apt-setup/local0/comment string local server
# d-i apt-setup/local0/source boolean true
# d-i apt-setup/local0/key string http://local.server/key
# -----------------------------------------------------------------------------
# d-i debian-installer/allow_unauthenticated boolean true
# == Package selection ========================================================
# tasksel tasksel/first multiselect standard, web-server
# tasksel tasksel/desktop multiselect kde, xfce
# tasksel tasksel/first multiselect standard
tasksel tasksel/first multiselect standard, ssh-server
d-i shared/proftpd/inetd_or_standalone select standalone
d-i ucf/changeprompt select install_new
# d-i pkgsel/include string openssh-server
d-i pkgsel/include string ssh
# -- Individual additional packages to install --------------------------------
# d-i pkgsel/upgrade select none
    d-i pkgsel/upgrade select full-upgrade
# -- Policy for applying updates. ---------------------------------------------
    d-i pkgsel/update-policy select unattended-upgrades
# -----------------------------------------------------------------------------
    popularity-contest popularity-contest/participate boolean false
# =============================================================================
# d-i grub-installer/skip boolean true
# d-i lilo-installer/skip boolean true
    d-i grub-installer/only_debian boolean true
# d-i grub-installer/with_other_os boolean true
# d-i grub-installer/only_debian boolean false
# d-i grub-installer/with_other_os boolean false
# d-i grub-installer/bootdev string (hd0,0)
# d-i grub-installer/bootdev string (hd0,0) (hd1,0) (hd2,0)
    d-i grub-installer/bootdev string /dev/sda
# d-i grub-installer/bootdev string /dev/sda /dev/sdb
# d-i grub-installer/bootdev string /dev/sda /dev/sdb /dev/sdc /dev/sdd
# d-i grub-installer/password password r00tme
# d-i grub-installer/password-again password r00tme
# d-i grub-installer/password-crypted password [MD5 hash]
# d-i debian-installer/add-kernel-opts string nousb
# == Finishing up the installation ============================================
# d-i finish-install/keep-consoles boolean true
    d-i finish-install/reboot_in_progress note
    d-i cdrom-detect/eject boolean true
    d-i debian-installer/exit/halt boolean false
    d-i debian-installer/exit/poweroff boolean false
# == Preseeding other packages ================================================
# d-i debhelper debconf-utils
#   debconf-get-selections --installer > file.txt
#   debconf-get-selections >> file.txt
# == Advanced options =========================================================
# d-i preseed/early_command string anna-install some-udeb
# d-i partman/early_command string debconf-set partman-auto/disk "$(list-devices disk | head -n1)"
# d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
# == End Of File ==============================================================

댓글 없음:

댓글 쓰기