博客
关于我
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/

你可能感兴趣的文章
OpenLayers 入门使用
查看>>
Openlayers 入门教程(一):应该如何学习 Openlayers
查看>>
openlayers 入门教程(七):Interactions 篇
查看>>
openlayers 入门教程(三):view 篇
查看>>
openlayers 入门教程(九):overlay 篇
查看>>
openlayers 入门教程(二):map 篇
查看>>
openlayers 入门教程(五):sources 篇
查看>>
openlayers 入门教程(八):Geoms 篇
查看>>
openlayers 入门教程(十三):动画
查看>>
openlayers 入门教程(十二):定位与轨迹
查看>>
openlayers 入门教程(十五):与 canvas、echart,turf 等交互
查看>>
openlayers 入门教程(十四):第三方插件
查看>>
openlayers 入门教程(四):layers 篇
查看>>
OpenLayers 项目分析(三)-OpenLayers中定制JavaScript内置类
查看>>
Openlayers下载与加载geoserver的wms服务显示地图
查看>>
Openlayers中使用Cluster+Overlay实现点击单个要素和聚合要素时显示不同弹窗
查看>>
Openlayers中使用Cluster实现点位元素重合时动态聚合与取消聚合
查看>>
Openlayers中使用Cluster实现缩放地图时图层聚合与取消聚合
查看>>
Openlayers中使用Image的rotation实现车辆定位导航带转角(判断车辆图片旋转角度)
查看>>
Openlayers中加载Geoserver切割的EPSG:900913离线瓦片图层组
查看>>