본문 바로가기

리눅스

kickstart ks.cfg 파일

반응형

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
반응형