博客
关于我
CentOS6原始应答文件anaconda-ks.cfg内容
阅读量:397 次
发布时间:2019-03-05

本文共 2588 字,大约阅读时间需要 8 分钟。

CentOS6???????

?????????????????CentOS6??????kickstart?????????????????????????????????????????????

kickstart?????????????

???

????????????????????????

  • keyboard: ??????
  • lang: ??????
  • zerombr: ??Master Boot Record
  • clearpart: ???????
  • part: ??????
  • rootpw: ??root?????
  • timezone: ????
  • text: ????????
  • network: ??????
  • firewall: ???????
  • selinux: ??SELinux??
  • reboot: ?????????
  • user: ???????????
  • url: ???????

????

?????????????????????????????

%packages@^environment group?

???%packages@^minimal-environment@group_name package package%

?????????????????????????

???

?????????????????????????????

%pre: ?????%post: ?????

?????????????????????????????????

?????CentOS6?????

????????anaconda-ks.cfg?????

[root@C6-56 ~]# cat anaconda-ks.cfg# automatically generated by anaconda#version=DEVELinstallcdromlang en_US.UTF-8keyboard usnetwork --onboot yes --device eth0 --bootproto dhcprootpw  --iscrypted $1$Ngd5nkD3$9aiytDQYX.Rajc29jnGJ11# Reboot after installationrebootfirewall --service=sshauthconfig --useshadow --enablemd5selinux --enforcingtimezone --utc America/Los_Angelesbootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"# Clear the Master Boot Record#zerombr# The following is the partition information you requested# Note that any partitions you deleted are not expressed# here so unless you clear all partitions first, this is# not guaranteed to work#clearpart --all --initlabel#part /boot --fstype=ext4 --size=300#part / --fstype=ext4 --grow --size=3000#part swap --grow --maxsize=1984 --size=1984repo --name="CentOS"  --baseurl=cdrom:sr1 --cost=100%packages@Base@Core@Desktop@Fonts@General Purpose Desktop@Internet Browser@Printing client@X Window Systembinutilsgcckernel-develmakepatchpython%end%postif [ -f /boot/grub/menu.lst -a ! -h /boot/grub/menu.lst ]; then cp /boot/grub/menu.lst /boot/grub/menu.lst.bak && sed -i 's/ rhgb//' /boot/grub/menu.lst; fiif [ -f /boot/grub/grub.conf -a ! -h /boot/grub/grub.conf ]; then cp /boot/grub/grub.conf /boot/grub/grub.conf.bak && sed -i 's/ rhgb//' /boot/grub/grub.conf; fiif [ -f /boot/grub2/grub.conf -a ! -h /boot/grub2/grub.conf ]; then cp /boot/grub2/grub.conf /boot/grub2/grub.conf.bak && sed -i 's/ rhgb//' /boot/grub2/grub.conf; fiif [ -f /etc/rc.d/rc.local ]; then cp /etc/rc.d/rc.local /etc/rc.d/rc.local.backup; ficat >>/etc/rc.d/rc.local <

???????????kickstart????CentOS6??????????????

  • ??????CDROM
  • ????????????
  • ???????SELinux
  • ???root?????
  • ???Partition??
  • ???GRUB??loader

????kickstart?????????????????????????????????????

???kickstart???????????????????????????CentOS??????????????????????????????????????

转载地址:http://jrkzz.baihongyu.com/

你可能感兴趣的文章
Objective-C实现ripple adder涟波加法器算法(附完整源码)
查看>>
Objective-C实现RodCutting棒材切割最大利润算法(附完整源码)
查看>>
Objective-C实现Romberg算法(附完整源码)
查看>>
Objective-C实现round robin循环赛算法(附完整源码)
查看>>
Objective-C实现RRT路径搜索(附完整源码)
查看>>
Objective-C实现rsa 密钥生成器算法(附完整源码)
查看>>
Objective-C实现RSA密码算法(附完整源码)
查看>>
Objective-C实现runge kutta龙格-库塔法算法(附完整源码)
查看>>
Objective-C实现segment tree段树算法(附完整源码)
查看>>
Objective-C实现selection sort选择排序算法(附完整源码)
查看>>
Objective-C实现sha256算法(附完整源码)
查看>>
Objective-C实现shell sort希尔排序算法(附完整源码)
查看>>
Objective-C实现SinglyLinkedList单链表算法(附完整源码)
查看>>
Objective-C实现skew heap倾斜堆算法(附完整源码)
查看>>
Objective-C实现Skip List跳表算法(附完整源码)
查看>>
Objective-C实现slack message松弛消息算法(附完整源码)
查看>>
Objective-C实现slow sort慢排序算法(附完整源码)
查看>>
Objective-C实现tanh函数功能(附完整源码)
查看>>
Objective-C实现z-algorithm算法(附完整源码)
查看>>
Objective-C实现zellers congruence泽勒一致算法(附完整源码)
查看>>