반응형
kickstart ks.cfg 파일
vim /tftpboot/kickstart/ks_centos6.4_64.cfg
#platform=x86, AMD64, 또는 Intel EM64T
#version=DEVEL
# Firewall configuration
firewall --disabled
# Install OS instead of upgrade
install
# Use NFS installation media
nfs --server=192.168.56.10 --dir=/mnt/centos6.4_64
# Root password
rootpw --iscrypted $1$w2yXi5Wl$IYYKevcmZWvW7S71bhvVH.
# System authorization information
auth --useshadow --passalgo=sha512
# Use graphical install
graphical
firstboot --disable
# System keyboard
keyboard us
# System language
lang ko_KR
# SELinux configuration
selinux --disabled
# Installation logging level
logging --level=info
# Reboot after installation
reboot
# System timezone
timezone --isUtc Asia/Seoul
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on
# System bootloader configuration
bootloader --location=mbr
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part swap --fstype="swap" --size=2048
part / --asprimary --fstype="ext4" --grow --size=1
#repo --name="CentOS" --baseurl=nfs:192.168.1.105:/mnt/centos6.4_64 --cost=100
# 패키지를 선택
%packages
#@Base
@client-mgmt-tools
@core
@korean-support
@server-policy
@development
kernel-devel
kernel-headers
gcc
%end
728x90
반응형
'리눅스' 카테고리의 다른 글
[Bonding] CentOS6 Linux NIC bonding 구성 (0) | 2013.09.16 |
---|---|
리눅스에서 기본 게이트웨이(Default Gateway)를 추가하는 방법 (0) | 2013.09.16 |
[리눅스] grep 명령어 (1) | 2013.09.16 |
CentOS 7에서 Kickstart 파일을 생성하는 가장 간편한 방법(Kickstart Configurator) (0) | 2013.09.16 |
[kickstart] 킥스타트 옵션 (0) | 2013.09.15 |