본문 바로가기

리눅스

[kickstart] 킥스타트 옵션

반응형

킥스타트 옵션

 

Red Hat Enterprise Linux 3: 시스템 관리 가이드-9. 킥스타트 설치

http://www.linux4u.co.kr/RedhatAS/s1-kickstart2-options.html

 

[root@kss kickstart]# pwd

/tftpboot/kickstart

[root@kss kickstart]# cat ks_centos6.4_64.cfg

#platform=x86,AMD64,Intel EM64T

#version=RHEL6

 

# Install OS instead of upgrade

install

 

#url --url=http://mirror.cdnetworks.com/centos/6/os/x86_64

nfs --server=192.168.1.105 --dir=/mnt/centos6.4_64

 

# Reboot the host when the installation is complete

reboot

 

# System language

lang ko_KR.UTF-8

 

# System keyboard

keyboard us

 

# Network information

network --bootproto=dhcp --device=eth0 --onboot=yes

#network --onboot=yes --device=eth0 --bootproto=static --ip=10.0.2.15 --netmask=255.255.255.0 --gateway=10.0.2.254 --nameserver=10.0.2.1

 

# Root password

rootpw  --iscrypted $6$os.IJnUFIbnt3Qjb$i76tetjZXCubPR39pV3i3ixS7EemQTRm.wvX5njkOWVz0TfBxgi13SuwFWjvXf576T2ymsUEJ/EetVhmDsvTe0

 

# Firewall configuration

firewall --disabled

 

authconfig --enableshadow --passalgo=sha512

 

# Use text mode install

text

 

# SELinux configuration

selinux --disabled

 

# Do not configure the X Window System

skipx

 

# System timezone

timezone --utc Asia/Seoul

 

# System bootloader configuration

bootloader --location=mbr --driveorder=sda --append="nomodeset rhgb crashkernel=auto quiet"

 

# Installation logging level

logging --level=info

 

# The following is the partition information you requested

# Note that any partitions you deleted are not expressed

# here so unless you clear all partitions first, this is

# not guaranteed to work

#clearpart --all --initlabel

clearpart --all

 

#ignoredisk --drives=sda

 

part swap --asprimary --size=2048

part / --fstype=ext4 --grow --asprimary --size=200

 

#repo --name="CentOS"  --baseurl=cdrom:sr0 --cost=100

repo --name="CentOS" --baseurl=http://mirror.cdnetworks.com/centos/6/os/x86_64/ --cost=100

 

# Reboot after installation

reboot

 

# 패키지를 선택

%packages

@client-mgmt-tools

@core

@korean-support

@server-policy

%end

 

 

 

 

728x90
반응형