Kickstart automatic installation script in Linux

In kickstart production
rhel7:
(1) Install system-config-kickstart

Insert picture description here
(2) Insert picture description here
Select the corresponding content
Insert picture description here
Insert picture description here
Insert picture description here

Insert picture description here
Insert picture description here
Save it afterwards, so that a kis.cfg file is generated
(3) edit vim ks.cfg

Insert picture description here
(4) ksvalidator /mnt/ks.cfg
Insert picture description here
(5) release file
Insert picture description here
Insert picture description here
(6) detect and release
firefox ftp://192.168.43.10/ ksfile / ks.cfg
(7) Use
In the installation interface, press
Enter:
ks = ftp: //192.168.43.10/ksfile/ks.cfg
Enter to
enter the automatic installation process
[Note]: When using kickstart to install the system, there must be a dhcp server Otherwise, the network resource cannot be accessed
(8) Use the network resource to install the system.
Publish the image to the network through the ftp service.
Access the network image resource
ftp://192.168.43.11/rhel8.
Change ks.cfg
vim ks.cfg
## cdrom ## Comment using the CD Resource
url--url = "ftp://192.168.43.11/rhel8" ## Use network resources

Published 35 original articles · praised 0 · visits 1423

Guess you like

Origin blog.csdn.net/qq_44749796/article/details/104688703