博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
cobbler之ks文件示例
阅读量:7034 次
发布时间:2019-06-28

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

#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Firewall configuration,关闭防火墙
firewall --disabled
# Install OS instead of upgrade,每次安装均为全新安装
install
# Use network installation 定义了系统路径,此路径是cobbler配置完同步后的路径,网站根路径默认是/var/www/
url --url="http://192.168.182.128/cobbler/ks_mirror/centos6.5/"
# Root password,root密码1-6
rootpw --iscrypted $1$Y3.QyYBW$gOwUNVARzHANTj9K6rAsk.
# System authorization information
auth  --passalgo=sha512
# Use graphical install
graphical
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration,关闭selinux
selinux --disabled
# Installation logging level
logging --level=info
# System timezone
timezone  Asia/Shanghai
# Network information,定义了boot引导方式
network  --bootproto=dhcp --device=eth0 --onboot=on
# System bootloader configuration,定义了引导区为mbr
bootloader --location=mbr
# Partition clearing information,清理mbr和分区表,特别是zerombr必须有,负责会提醒需要重新格式化之类的提示
clearpart --all  
zerombr
# Disk partitioning information
part /boot --fstype="ext4" --size=200
part swap --size=2048
part / --fstype="ext4" --size=10240
part /home --fstype="ext4" --size=10240
#定义repo源,此路径是cobbler配置完同步后的路径
repo --name="CentOS"  --baseurl="http://192.168.182.128/cobbler/ks_mirror/centos6.5/"
%packages
@base
@core
@debugging
@basic-desktop
@desktop-debugging
@desktop-platform
@desktop-platform-devel
@development
@directory-client
@fonts
@general-desktop
@graphical-admin-tools
@input-methods
@internet-applications
@internet-browser
@java-platform
@legacy-x
@network-file-system-client
@office-suite
@print-client
@remote-desktop-clients
@server-platform
@server-platform-devel
@server-policy
@virtualization-tools
@workstation-policy
@x11
mtools
pax
oddjob
wodim
sgpio
genisoimage
device-mapper-persistent-data
systemtap-client
abrt-gui
desktop-file-utils
jpackage-utils
samba-winbind
certmonger
pam_krb5
krb5-workstation
openmotif
libXmu
libXp
%end

转载于:https://www.cnblogs.com/aaa103439/p/fee5af9f216ed0652233f46ad4937bdf.html

你可能感兴趣的文章
(清理缓存)
查看>>
【leetcode】41. First Missing Positive
查看>>
LeetCode算法题-Flood Fill(Java实现)
查看>>
【转】【翻译】The Top 10 Mistakes That KnockoutJS Developers Make
查看>>
记事本开发JAVA程序
查看>>
ROWNUM使用大于查不到值的问题(查询大于10小于21 范围内的数据)
查看>>
Django分页和查询参数的问题
查看>>
<td></td>标签的border 样式在浏览器中显示不出来
查看>>
mysql安装
查看>>
mysql优化小技巧
查看>>
【解题报告】【HDOJ1102】【最小生成树】Constructing Roads
查看>>
sublime自己常用到的设置
查看>>
Vue.js 2.x笔记:状态管理Vuex(7)
查看>>
C文件操作
查看>>
咕了很长时间,先把一些洛谷easy 写出来吧
查看>>
递归计算全排列
查看>>
iOS开发官方文档汇总
查看>>
MP4 atom (1)
查看>>
Swagger配置完之后无法访问
查看>>
Keepalived的安装
查看>>