智慧屏 安装 app如何提升家庭娱乐与教育体验的关键工具
1108
2022-08-25
centos 自动 部署 系统 U盘
openssl passwd -1 -salt 'root' '123456'## 生成密码用的密码 就是 rootpw --iscrypted 后面的
ks.cfgtextskipxfirstboot --enablekeyboard --vckeymap=us --xlayouts='us'lang en_US.UTF-8selinux --disabledfirewall --disabledcdromauth --enableshadow --passalgo=sha512rootpw --iscrypted $1$root$12312312312312312312.services --disabled="NetworkManager" --enabled="network,chronyd"timezone Asia/Shanghai --isUtc --nontpclearpart --all --initlabelpart /boot --fstype ext4 --size 1024part / --fstype ext4 --size 1 --grow reboot --eject --kexec%packages@^minimal@core%end
isolinux.cfgdefault vesamenu.c32timeout 100display boot.msg# Clear the screen when exiting the menu, instead of leaving the menu displayed.# For vesamenu, this means the graphical background is still displayed without# the menu itself for as long as the screen remains in graphics mode.menu clearmenu background splash.pngmenu title CentOS 7menu vshift 8menu rows 18menu margin 8#menu hiddenmenu helpmsgrow 15menu tabmsgrow 13# Border Areamenu color border * #00000000 #00000000 none# Selected itemmenu color sel 0 #ffffffff #00000000 none# Title barmenu color title 0 #ff7ba3d0 #00000000 none# Press [Tab] messagemenu color tabmsg 0 #ff3a6496 #00000000 none# Unselected menu itemmenu color unsel 0 #84b8ffff #00000000 none# Selected hotkeymenu color hotsel 0 #84b8ffff #00000000 none# Unselected hotkeymenu color hotkey 0 #ffffffff #00000000 none# Help textmenu color help 0 #ffffffff #00000000 none# A scrollbar of some type? Not sure.menu color scrollbar 0 #ffffffff #ff355594 none# Timeout msgmenu color timeout 0 #ffffffff #00000000 nonemenu color timeout_msg 0 #ffffffff #00000000 none# Command prompt textmenu color cmdmark 0 #84b8ffff #00000000 nonemenu color cmdline 0 #ffffffff #00000000 none# Do not display the actual menu unless the user presses a key. All that is displayed is a timeout message.menu tabmsg Press Tab for full configuration options on menu items.menu separator # insert an empty linemenu separator # insert an empty linelabel linux-auto menu label ^Auto Install CentOS 7 menu default kernel vmlinuz append initrd=initrd.img ks=cdrom:/isolinux/ks.cfg quiet net.ifnames=0 biosdevname=0label linux menu label ^Install CentOS 7 kernel vmlinuz append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet net.ifnames=0 biosdevname=0
-一个centos7镜像, 删除里面 isolinux/isolinux.cfg把上面2个文件 保存到isolinux/下面重新生成U盘。 就可以自动装系统。一共2个选项。下面的是手动装。
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~