cobbler的kickstart文件

发布时间:2018年06月05日 阅读:734 次

# Cobbler for Kickstart Configurator for CentOS 7.1 by yao zhang

install

url --url=$tree

text

lang en_US.UTF-8

keyboard us

zerombr

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

$SNIPPET('network_config')

timezone --utc Asia/Shanghai

authconfig --enableshadow --passalgo=sha512

rootpw  --iscrypted $default_password_crypted

clearpart --all --initlabel

ignoredisk --only-use=sda

part /boot --fstype xfs --size 1024

part swap --size 8192

part / --fstype xfs --size 1 --grow

firstboot --disable

selinux --disabled

firewall --disabled

logging --level=info

reboot

%pre

$SNIPPET('log_ks_pre')

$SNIPPET('kickstart_start')

$SNIPPET('pre_install_network_config')

# Enable installation monitoring

$SNIPPET('pre_anamon')

%end

%packages

@base

@compat-libraries

@debugging

@development

tree

nmap

sysstat

vim

wget

dos2unix

kexec-tools

sysstat

lrzsz

dos2unix

telnet

iptraf

ncurses-devel

openssl-devel

zlib-devel

OpenIPMI-tools

screen

%end

%post

systemctl disable postfix.service

%end


Tag:cobbler pxe kickstart
相关文章

发表评论: