一编辑文件自动安装虚拟机
虚拟机中首先要有http源,如果没有http源,需要安装http源
[root@localhost yum.repos.d]# yum install system-config-kickstart ##下载需要自动安装的软件包
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
–> Running transaction check
—> Package system-config-kickstart.noarch 0:2.9.6-1.el7 will be installed
–> Processing Dependency: system-config-keyboard >= 1.3.1 for package: system-config-kickstart-2.9.6-1.el7.noarch
–> Processing Dependency: system-config-date for package: system-config-kickstart-2.9.6-1.el7.noarch
–> Processing Dependency: system-config-language for package: system-config-kickstart-2.9.6-1.el7.noarch
–> Running transaction check
—> Package system-config-date.noarch 0:1.10.6-2.el7 will be installed
–> Processing Dependency: system-config-date-docs for package: system-config-date-1.10.6-2.el7.noarch
—> Package system-config-keyboard.noarch 0:1.4.0-4.el7 will be installed
–> Processing Dependency: system-config-keyboard-base = 1.4.0-4.el7 for package: system-config-keyboard-1.4.0-4.el7.noarch
—> Package system-config-language.noarch 0:1.4.0-7.el7 will be installed
–> Running transaction check
—> Package system-config-date-docs.noarch 0:1.0.11-4.el7 will be installed
—> Package system-config-keyboard-base.noarch 0:1.4.0-4.el7 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
system-config-kickstart noarch 2.9.6-1.el7 lc 352 k
Installing for dependencies:
system-config-date noarch 1.10.6-2.el7 lc 619 k
system-config-date-docs noarch 1.0.11-4.el7 lc 527 k
system-config-keyboard noarch 1.4.0-4.el7 lc 33 k
system-config-keyboard-base noarch 1.4.0-4.el7 lc 103 k
system-config-language noarch 1.4.0-7.el7 lc 132 k
Transaction Summary
================================================================================
Install 1 Package (+5 Dependent packages)
Total download size: 1.7 M
Installed size: 6.4 M
Is this ok [y/d/N]: y
Downloading packages:
Total 44 MB/s | 1.7 MB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : system-config-d