码迷,mamicode.com
首页 > 其他好文 > 详细

kickstart_lvm_ks.cfg

时间:2015-06-09 17:41:56      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:使用kickstart安装redhat6   并使用lvm分区。   

#platform=x86, AMD64, or Intel EM64T

#version=DEVEL

# Firewall configuration

firewall --disabled

# Install OS instead of upgrade

install

# Use network installation

url --url="ftp://192.168.30.100/iso"

# Root password

rootpw --iscrypted $1$yfj7oLDp$IMX6zbIDgJiudz7X8mZVV0

# Network information

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

# System authorization information

auth  --useshadow  --passalgo=md5

# Use graphical install

graphical

#text

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  Asia/Shanghai

# System bootloader configuration

bootloader --location=mbr

# Clear the Master Boot Record

zerombr

# Partition clearing information

clearpart --all  --initlabel


# Disk partitioning information

#part /  --fstype="ext4" --size=10240 

#part swap --fstype="swap" --size=1024


# LVM partitioning infomation

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


part pv.01-qikang --size=10240 --asprimary --grow --ondisk=sda

volgroup vg_root pv.01-qikang --pesize=4096

logvol / --fstype="ext4" --name=lv_root --vgname=vg_root --size=6144

logvol swap --name=lv_swap --vgname=vg_root --size=1024



%packages

@base

@basic-desktop

@chinese-support

@console-internet

@fonts

@x11


%end


kickstart_lvm_ks.cfg

标签:使用kickstart安装redhat6   并使用lvm分区。   

原文地址:http://qikang.blog.51cto.com/1504256/1660099

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!