본문으로 바로가기

Debian PXE 설치 kickstart(preseed) 설정 옵션

category Gift/Linux 2017. 8. 11. 10:00


데비안 PXE 자동으로 설치하기





1. kickstart (preseed) 파일

#locale d-i debian-installer/locale string ko_KR.UTF-8 #keyboard d-i console-keymaps-at/keymap select skip-config d-i keyboard-configuration/xkb-keymap select skip-config #network d-i netcfg/choose_interface select auto #host & domain d-i netcfg/get_hostname string unassigned-hostname d-i netcfg/get_domain string unassigned-domain #wep key disabled d-i netcfg/wireless_wep string #firmware true , false d-i hw-detect/load_firmware boolean true #mirror site d-i mirror/country string manual d-i mirror/http/hostname string ftp.kr.debian.org d-i mirror/http/directory string /debian d-i mirror/http/proxy string #root passwd d-i passwd/root-password password temp1234 d-i passwd/root-password-again password temp1234 #user d-i passwd/user-fullname string skip-config d-i passwd/username string test d-i passwd/user-password password temp1234 d-i passwd/user-password-again password temp1234 #timezone d-i clock-setup/utc boolean true d-i time/zone string Asia/Seoul d-i clock-setup/ntp boolean true #Package tasksel tasksel/first multiselect standard d-i pkgsel/include string openssh-server d-i pkgsel/upgrade select none #bootloader d-i grub-installer/only_debian boolean true d-i grub-installer/with_other_os boolean true d-i grub-installer/bootdev string /dev/sda #End d-i finish-install/keep-consoles boolean true d-i finish-install/reboot_in_progress note d-i debian-installer/exit/poweroff boolean true


2. /tftpboot/pxelinux.cfg/default 파일 수정

label debian8.8_x64 menu label debian8.8_x64 kernel debian8.8/debian-installer/amd64/linux append initrd=debian8.8/debian-installer/amd64/initrd.gz vga=nomal priority=critical auto preseed/url=http://192.168.0.1/debian/debian8.8/preseed.cfg --- quiet

위 설정값들은 제 pxe서버 환경에 맞춰 구성된상태니 필요한 부분은 따로 변경해서 사용하시면 될것같습니다.


데비안 PXE설치 관련문서 : https://www.debian.org/releases/stable/amd64/apb.html.ko