You are on page 1of 3

#platform=x86, AMD64, or Intel EM64T

#version=DEVEL

# Firewall configuration

firewall --enabled --ssh --service=ssh

# Install OS instead of upgrade

install

# Use network installation

url --url="ftp://10.0.0.1/pub/pooja/RHEL6.0"

#repo --name="Red Hat Enterprise Linux" --baseurl=cdrom:sr1 --cost=100

# Root password

rootpw --iscrypted $1$rMQaz$VgnKXWrWshW0wzo.6TN/2.

# System authorization information

auth --useshadow --passalgo=md5

# Use graphical install

graphical

firstboot --disable

# System keyboard

keyboard us

# System language

lang en_US

# SELinux configuration

selinux --enforcing

# Installation logging level

logging --level=info

# Reboot after installation


reboot

# System timezone

timezone America/Los_Angeles

# Network information

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

# System bootloader configuration

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

# Partition clearing information

clearpart --all --initlabel

# Disk partitioning information

part /boot --fstype="ext4" --size=200

part swap --fstype="swap" --size=1000

part / --fstype="ext4" --size=15000

%packages

@base

@client-mgmt-tools

@compat-libraries

@console-internet

@directory-client

%end

%post

cat >> /etc/yum.repos.d/client.repo << EOF


[client]

name=clientpc

baseurl=ftp://10.0.0.1/pub/pooja/RHEL6.0

gpgcheck=0

You might also like