Enterprise essential-Linux Centos7 unattended automatic installation (PXE deployment)
16.1 put this configuration file on our site
17. Put the configuration file template of the system Put it in our kickstart configuration file [root@localhost pxelinux.cfg] # cd / var/ftp/ [root@localhost ftp] # lscentos7 ks.cfg pub [root@localhost ftp] # vim ks.cfg [root@localhost ftp] # cd / root [root@localhost ~] # lsanaconda-ks.cfg initial-setup-ks.cfg Public template Video Photo document download Music Desktop [root@localhost] # vim anaconda-ks.cfg / / here Copy this template to our unattended tool configuration file% packages@ ^ gnome-desktop-environment@base@core@desktop-debugging@dial-up@directory-client@fonts@gnome-desktop@guest-agents@guest-desktop-agents@input-methods@internet-browser@java-platform@multimedia@network-file-system-client@networkmanager-submodules@print-client@x11chronykexec-tools%end18. Load this template with the bootstrap
Just add a ks.cfg file address, ks= ftp://192.168.100.100/ks.cfg.
[root@localhost ftp] # cd / var/lib/tftpboot/ [root@localhost tftpboot] # lsinitrd.img pxelinux.0 pxelinux.cfg vmlinuz [root@localhost tftpboot] # cd pxelinux.cfg/ [root@localhost pxelinux.cfg] # lsdefault [root@localhost pxelinux.cfg] # vim defaultdefault autoprompt 1label auto kernel vmlinuz append initrd=initrd.img method= ftp://192.168.100.100/centos7 ks= ftp://192.168.100.100/ks.cfglabel linux text kernel vmlinuz append text Initrd=initrd.img method= ftp://192.168.100.100/centos7label linux rescue kernel vmlinuz append rescue initrd=initrd.img method= ftp://192.168.100.100/centos719. We verify that it is an automated installation
The above is all of our content, absolutely detailed, absolutely correct. Thank you for watching.