博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
获取ks模板文件
阅读量:5064 次
发布时间:2019-06-12

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

yum install loraxcd /usr/share/doc/lorax-19.6.66lsrhel7-livemedia.ks  rhel7-minimal.ks  rhel-atomic-pxe-live.ks

rhel7-minimal.ks

# Minimal Disk Image#sshpw --username=root --plaintext randOmStrinGhERE# Firewall configurationfirewall --enabled# Use network installationurl --url=http://repo/rhel7.0/Server/osrepo --name=optional --baseurl=http://repo/rhel7.0/Server/optional/os# Root passwordrootpw --plaintext removethispw# Network informationnetwork  --bootproto=dhcp --onboot=on --activate# System authorization informationauth --useshadow --enablemd5# System keyboardkeyboard --xlayouts=us --vckeymap=us# System languagelang en_US.UTF-8# SELinux configurationselinux --enforcing# Installation logging levellogging --level=info# Shutdown after installationshutdown# System timezonetimezone  US/Eastern# System bootloader configurationbootloader --location=mbr# Clear the Master Boot Recordzerombr# Partition clearing informationclearpart --all# Disk partitioning informationpart / --fstype="ext4" --size=4000part swap --size=1000%post# Remove root passwordpasswd -d root > /dev/null# Remove random-seedrm /var/lib/systemd/random-seed%end%packages@corekernelmemtest86+grub2-efigrub2shimsyslinux-dracut-config-rescue%end

rhel-atomic-pxe-live.ks

# Settings for unattended installation:lang en_US.UTF-8keyboard ustimezone America/New_Yorkzerombrclearpart --all --initlabelrootpw --plaintext atomicnetwork --bootproto=dhcp --device=link --activate# We are only able to install atomic with separate /boot partition currentlypart / --fstype="ext4" --size=6000part /boot --size=500 --fstype="ext4"shutdown# Using ostree repo included in installation iso. Respective ostreesetup command is included here.# The included kickstart file with the command is created during installation iso compose.%include /usr/share/anaconda/interactive-defaults.ksservices --disabled=cloud-init,cloud-init-local,cloud-final,cloud-config,docker-storage-setup# We copy content of separate /boot partition to root part when building live squashfs image,# and we don't want systemd to try to mount it when pxe booting%postcat /dev/null > /etc/fstab%end
posted on
2016-05-05 11:23 阅读(
...) 评论(
...)

转载于:https://www.cnblogs.com/liujitao79/p/5461181.html

你可能感兴趣的文章
C++二维数组new小结(zz)
查看>>
ICPC World Finals 2019 题解
查看>>
mysql查看表结构命令
查看>>
C++之内核对象进行线程同步
查看>>
Java中==规则
查看>>
枚举类型与递归
查看>>
SQL中sysname数据类型的含义(转)
查看>>
UVA10462Is There A Second Way Left? —— 次小生成树 kruskal算法
查看>>
使用 AGAL 计算出4x4矩阵中XYZ三个轴的缩放值
查看>>
多进程与多线程
查看>>
npm安装node-sass报msbuild相关错误的解决办法
查看>>
CSS3 Media Queries
查看>>
python学习笔记十-文件操作
查看>>
RTTI 中的typeid获取运行时对象名称
查看>>
SonarQube在CentOS上的安装
查看>>
架构收录
查看>>
浅入深出Vue:自动化路由
查看>>
C#核编之系统数据类型和相应的C#关键字
查看>>
Mysql DISTINCT问题
查看>>
sort和sorted的区别
查看>>