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 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
上一篇: putty 自动登陆LINUX下一篇: Linux系统下的 samba 服务
关于cobbler 批量安装linux的所有评论