CentOS 6.x Kickstart Configuration example

Source: Internet
Author: User

#文本模式安装

Text

# keyboard
Keyboard US

Language
Lang en_US
#langsupport--default en_US ZH_CN

#网口
Network--device eth0--bootproto DHCP
#network--device eth1--bootproto DHCP

# OS ISO mounted files are copied here
URL--url http://192.168.1.2/data/

# time Zone

TimeZone Asia/shanghai

# User Password
ROOTPW Your_password

#禁用防火墙
Firewall--disabled

#认证方式
Authconfig--enableshadow--ENABLEMD5

#禁用selinux
SELinux--disabled

#跳过安装过程中的图形窗口
Skipx

# Install Bootloader
Bootloader

#重启OS
Reboot

# empty MBR

ZEROMBR Yes

# Delete all partitions on disk
Clearpart--all

Partition The size unit Mb;--grow indicates that all remaining disk space is used, obviously only last.
Part/boot--fstype Ext4--size=500
Part swap--size=2048
Part/--fstype Ext4--size=2048
Part/opt--fstype ext4--size=200--grow

#安装软件包. Hardware-related monitoring and time synchronization services are essential. @base indicates that the base package group is installed.

%packages
Lm_sensors
Ntp

@base

%pre

%post

CentOS 6.x Kickstart Configuration example

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.