part2:配置pxe服务的无人值守安装
0 1 2 3 |
[root@PXE ~]# yum groupinstall "X Window System" [root@PXE ~]# yum groupinstall Desktop [root@PXE ~]# yum install system-config-kickstart [root@PXE ~]# reboot |
SourceByrd's Weblog-https://note.t4x.org/basic/pxe-no-man-on-duty/
ks.cfg:SourceByrd's Weblog-https://note.t4x.org/basic/pxe-no-man-on-duty/
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
[root@PXE ~]# cat /var/www/html/ks.cfg #platform=x86, AMD64, or Intel EM64T #version=DEVEL # Firewall configuration firewall --disabled # Install OS instead of upgrade install # Use network installation url --url="http://1.1.1.13/cdrom" # Root password rootpw --iscrypted $1$n1r4NOtg$MV689NVYtHDqZ1g/brRgh1 # System authorization information auth --useshadow --passalgo=sha512 # Use text mode install text firstboot --disable # System keyboard keyboard us # System language lang en_US # SELinux configuration selinux --enforcing # Installation logging level logging --level=info # Reboot after installation reboot # System timezone timezone --isUtc Asia/Shanghai # Network information network --bootproto=dhcp --device=eth0 --onboot=on # System bootloader configuration bootloader --location=mbr # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all --initlabel # Disk partitioning information part /boot --fstype="ext4" --size=200 part swap --fstype="swap" --size=1024 part / --fstype="ext4" --grow --size=1 %post echo post >> /tmp/post.txt %end |
SourceByrd's Weblog-https://note.t4x.org/basic/pxe-no-man-on-duty/
PEX-client:
申明:本文版权属于Byrd's Blog(t4x.org),转载请注明出处。商业使用请联系我们.SourceByrd's Weblog-https://note.t4x.org/basic/pxe-no-man-on-duty/
part1:http://note.t4x.org/basic/centos-preboot-execute-environmentSourceByrd's Weblog-https://note.t4x.org/basic/pxe-no-man-on-duty/ SourceByrd's Weblog-https://note.t4x.org/basic/pxe-no-man-on-duty/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!