快速业务通道

cobbler 批量安装linux

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-02
e cobbler start




八、kickstart配置文件实例# vi /etc/cobbler/sample.ks
#platform=x86, AMD64, or 英特尔 EM64T# System authorization informationauth --useshadow --enablemd5# System bootloader configurationbootloader --location=mbr# Partition clearing informationclearpart --all --initlabel# Use text mode installtext# Firewall configurationfirewall --disable# Run the Setup Agent on first bootfirstboot --enabled# System keyboardkeyboard us# System languagelang en_US# Use network installationurl --url=$tree# If any cobbler repo definitions were referenced in the kickstart profile, include them here.$yum_repo_stanza
# Network informationnetwork --bootproto=dhcp --device=eth0 --onboot=on# Reboot after installationreboot
#Root passwordrootpw --iscrypted $1$65XOJkdK$SA2J.kVLiTZ6V1GAhFl/Z1# SELinux configurationselinux --disabled# Do not configure the X Window Systemskipx# System timezonetimezone Asia/Shanghai# Install OS instead of upgradeinstall# Clear the Master Boot Recordzerombr
# Magically figure out how to partition this thing#SNIPPET::main_partition_selectpart / --asprimary --bytes-per-inode=4096 --fstype="ext3" --grow --size=1part swap --asprimary --bytes-per-inode=4096 --fstype="swap" --size=2048part /boot --asprimary --bytes-per-inode=4096 --fstype="ext3" --size=100
%pre$kickstart_start#SNIPPET::pre_partition_select
%packages@server-cfg@development-tools@base@development-libs@system-tools@admin-toolscertmasterfunc
%postchkconfig NetworkManager offchkconfig NetworkManagerDispatcher offchkconfig acpid offchkconfig anacron offchkconfig atd offchkconfig autofs offchkconfig avahi-daemon offchkconfig avahi-dnsconfd offchkconfig bluetooth offchkconfig conman offchkconfig cups offchkconfig dhcdbd offchkconfig dund offchkconfig firstboot offchkconfig funcd onchkconfig gpm offchkconfig haldaemon offchkconfig hidd offchkconfig httpd offchkconfig ibmasm offchkconfig ip6tables offchkconfig ipmi offchkconfig iptables offchkconfig irda offchkconfig irqbalance offchkconfig kdump offchkconfig kudzu offchkconfig lvm2-monitor offchkconfig mcstrans offchkconfig mdmpd offchkconfig microcode_ctl offchkconfig multipathd offchkconfig netconsole offchkconfig netfs offchkconfig netplugd offchkconfig nfs offchkconfig nfslock offchkconfig nscd offchkconfig ntpd offchkconfig oddjobd offchkconfig pand offchkconfig pcscd offchkconfig portmap offchkconfig psacct offchkconfig rdisc offchkconfig restorecond offchkconfig rpcgssd offchkconfig rpcidmapd offchkconfig rpcsvcgssd offchkconfig saslauthd offchkconfig sendmail offchkconfig setroubleshoot offchkconfig winbind offchkconfig wpa_supplicant offchkconfig xfs offchkconfig ypbind offchkconfig yum-updatesd off
chkconfig certmaster onchkconfig funcd on
cat >> EOFM > /etc/func/minion.conf[main]log_level = INFOacl_dir = /etc/func/minion-acl.dEOFM
cat >> EOCM > /etc/certmaster/minion.conf[main]certmaster = node3.le8le.comlog_level = DEBUGcert_dir = /etc/pki/certmasterEOCM
cat >> EODM > /etc/hosts192.168.1.3 node3.le8le.co

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号