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

cobbler 远程安装带图像化的centos服务器 kickstart文件

时间:2016-05-13 17:28:59      阅读:249      评论:0      收藏:0      [点我收藏+]

标签:additional   clearing   network   服务器   

亲测没问题以下是文件内容:

# System bootloader configuration

bootloader --location=mbr

# Partition clearing information

clearpart --all --initlabel

# Run the Setup Agent on first boot

firstboot --disable

# Activate X

xconfig --startxonboot

# Use network installation

url --url=$tree

# additional repostories get added here

$yum_repo_stanza

# Reboot after installation

reboot

# System keyboard

keyboard us

# System language

lang en_US

# System timezone

timezone  America/New_York

# Root password

rootpw --iscrypted $default_password_crypted

# Install OS instead of upgrade

install

# Clear the Master Boot Record

zerombr

# Allow anaconda to partition the system as needed

autopart


%packages

@base

@chinese-support

@core

@debugging

@basic-desktop

@desktop-debugging

@desktop-platform

@directory-client

@fonts

@general-desktop

@graphical-admin-tools

@input-methods

@internet-applications

@internet-browser

@java-platform

@legacy-x

@network-file-system-client

@office-suite

@print-client

@remote-desktop-clients

@server-platform

@server-policy

@x11

mtools

pax

oddjob

wodim

sgpio

genisoimage

device-mapper-persistent-data

abrt-gui

samba-winbind

certmonger

pam_krb5

krb5-workstation

gnome-pilot

libXmu

%end


%post

# create a default user to log in X

useradd desktop-user

passwd -d desktop-user


# adds the yum repositories to the installed system

$yum_config_stanza

# cobbler final steps

$SNIPPET(‘kickstart_done‘)

%end


cobbler 远程安装带图像化的centos服务器 kickstart文件

标签:additional   clearing   network   服务器   

原文地址:http://linuxyy.blog.51cto.com/9490250/1773062

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