Cobbler remotely install a CentOS server kickstart file with images

Source: Internet
Author: User
Tags centos server

No problem with the test. The following are the contents of the file:

# 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 remotely install a CentOS server kickstart file with images

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.