Tuesday, March 31, 2020

Configuring a Kickstart server for automated installation

Features:

1.  Hands free, automated installation
2.  Scripted installation
3.  Script can be used on multiple systems

Note:  system-config-kickstart is NOT installed by default.  So, install it.


pqrst.us.company.com: / >
pqrst.us.company.com: / >
pqrst.us.company.com: / > yum install system-config-kickstart
Loaded plugins: refresh-packagekit, security
base_el6_local                                                                                                                         |  951 B     00:00
ol6_UEK_latest_local                                                                                                                   |  951 B     00:00
ol6_latest_local                                                                                                                       | 1.1 kB     00:00
virtualbox                                                                                                                             |  951 B     00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package system-config-kickstart.noarch 0:2.8.6.5-1.0.1.el6 will be installed
--> Processing Dependency: pykickstart >= 0.96 for package: system-config-kickstart-2.8.6.5-1.0.1.el6.noarch
--> Processing Dependency: anaconda >= 11.4.0.42-1 for package: system-config-kickstart-2.8.6.5-1.0.1.el6.noarch
--> Processing Dependency: system-config-language for package: system-config-kickstart-2.8.6.5-1.0.1.el6.noarch
--> Running transaction check
---> Package anaconda.x86_64 0:13.21.215-1.0.2.el6 will be installed
--> Processing Dependency: fcoe-utils >= 1.0.12-3.20100323git for package: anaconda-13.21.215-1.0.2.el6.x86_64
--> Processing Dependency: pyparted >= 3.0 for package: anaconda-13.21.215-1.0.2.el6.x86_64
--> Processing Dependency: python-pyblock >= 0.45-2 for package: anaconda-13.21.215-1.0.2.el6.x86_64
--> Processing Dependency: genisoimage >= 1.1.9-4 for package: anaconda-13.21.215-1.0.2.el6.x86_64
--> Processing Dependency: syslinux >= 3.73 for package: anaconda-13.21.215-1.0.2.el6.x86_64
--> Processing Dependency: python-cryptsetup >= 0.0.6 for package: anaconda-13.21.215-1.0.2.el6.x86_64
--> Processing Dependency: createrepo >= 0.4.7 for package: anaconda-13.21.215-1.0.2.el6.x86_64
--> Processing Dependency: isomd5sum for package: anaconda-13.21.215-1.0.2.el6.x86_64
--> Processing Dependency: squashfs-tools for package: anaconda-13.21.215-1.0.2.el6.x86_64
--> Processing Dependency: anaconda-yum-plugins for package: anaconda-13.21.215-1.0.2.el6.x86_64
--> Processing Dependency: makebootfat for package: anaconda-13.21.215-1.0.2.el6.x86_64
--> Processing Dependency: libiscsi.so.0()(64bit) for package: anaconda-13.21.215-1.0.2.el6.x86_64
---> Package pykickstart.noarch 0:1.74.14-1.el6 will be installed
---> Package system-config-language.noarch 0:1.3.4-6.el6 will be installed
--> Running transaction check
---> Package anaconda-yum-plugins.noarch 1:1.0-5.1.el6 will be installed
---> Package createrepo.noarch 0:0.9.9-18.0.1.el6 will be installed
--> Processing Dependency: python-deltarpm for package: createrepo-0.9.9-18.0.1.el6.noarch
---> Package fcoe-utils.x86_64 0:1.0.28-3.el6 will be installed
--> Processing Dependency: libhbalinux >= 1.0.13 for package: fcoe-utils-1.0.28-3.el6.x86_64
--> Processing Dependency: lldpad >= 0.9.43 for package: fcoe-utils-1.0.28-3.el6.x86_64
--> Processing Dependency: device-mapper-multipath for package: fcoe-utils-1.0.28-3.el6.x86_64
--> Processing Dependency: libHBAAPI.so.2()(64bit) for package: fcoe-utils-1.0.28-3.el6.x86_64
---> Package genisoimage.x86_64 0:1.1.9-12.el6 will be installed
---> Package iscsi-initiator-utils.x86_64 0:6.2.0.873-10.0.3.el6 will be installed
---> Package isomd5sum.x86_64 1:1.0.6-1.el6 will be installed
---> Package makebootfat.x86_64 0:1.4-10.el6 will be installed
---> Package pyparted.x86_64 0:3.4-4.el6 will be installed
---> Package python-cryptsetup.x86_64 0:0.0.11-1.el6 will be installed
---> Package python-pyblock.x86_64 0:0.48-1.el6 will be installed
---> Package squashfs-tools.x86_64 0:4.0-5.el6 will be installed
---> Package syslinux.x86_64 0:4.02-16.el6_5 will be installed
--> Processing Dependency: syslinux-nonlinux for package: syslinux-4.02-16.el6_5.x86_64
--> Running transaction check
---> Package device-mapper-multipath.x86_64 0:0.4.9-72.0.1.el6_5.4 will be installed
--> Processing Dependency: kpartx = 0.4.9-72.0.1.el6_5.4 for package: device-mapper-multipath-0.4.9-72.0.1.el6_5.4.x86_64
--> Processing Dependency: device-mapper-multipath-libs = 0.4.9-72.0.1.el6_5.4 for package: device-mapper-multipath-0.4.9-72.0.1.el6_5.4.x86_64
--> Processing Dependency: libmpathpersist.so.0()(64bit) for package: device-mapper-multipath-0.4.9-72.0.1.el6_5.4.x86_64
--> Processing Dependency: libmultipath.so()(64bit) for package: device-mapper-multipath-0.4.9-72.0.1.el6_5.4.x86_64
---> Package libhbaapi.x86_64 0:2.2.9-1.el6 will be installed
---> Package libhbalinux.x86_64 0:1.0.16-1.el6 will be installed
---> Package lldpad.x86_64 0:0.9.46-3.el6_5 will be installed
--> Processing Dependency: lldpad-libs(x86-64) = 0.9.46-3.el6_5 for package: lldpad-0.9.46-3.el6_5.x86_64
--> Processing Dependency: liblldp_clif.so.1()(64bit) for package: lldpad-0.9.46-3.el6_5.x86_64
--> Processing Dependency: libconfig.so.8()(64bit) for package: lldpad-0.9.46-3.el6_5.x86_64
---> Package python-deltarpm.x86_64 0:3.5-0.5.20090913git.el6 will be installed
--> Processing Dependency: deltarpm = 3.5-0.5.20090913git.el6 for package: python-deltarpm-3.5-0.5.20090913git.el6.x86_64
---> Package syslinux-nonlinux.i686 0:4.02-16.el6_5 will be installed
--> Running transaction check
---> Package deltarpm.x86_64 0:3.5-0.5.20090913git.el6 will be installed
---> Package device-mapper-multipath-libs.x86_64 0:0.4.9-72.0.1.el6_5.4 will be installed
---> Package kpartx.x86_64 0:0.4.9-64.0.2.el6 will be updated
---> Package kpartx.x86_64 0:0.4.9-72.0.1.el6_5.4 will be an update
---> Package libconfig.x86_64 0:1.3.2-1.1.el6 will be installed
---> Package lldpad-libs.x86_64 0:0.9.46-3.el6_5 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================
 Package                                        Arch                     Version                                     Repository                          Size
==============================================================================================================================================================
Installing:
 system-config-kickstart                        noarch                   2.8.6.5-1.0.1.el6                           ol6_latest_local                   330 k
Installing for dependencies:
 anaconda                                       x86_64                   13.21.215-1.0.2.el6                         ol6_latest_local                   3.2 M
 anaconda-yum-plugins                           noarch                   1:1.0-5.1.el6                               ol6_latest_local                    12 k
 createrepo                                     noarch                   0.9.9-18.0.1.el6                            ol6_latest_local                    94 k
 deltarpm                                       x86_64                   3.5-0.5.20090913git.el6                     ol6_latest_local                    70 k
 device-mapper-multipath                        x86_64                   0.4.9-72.0.1.el6_5.4                        ol6_latest_local                   117 k
 device-mapper-multipath-libs                   x86_64                   0.4.9-72.0.1.el6_5.4                        ol6_latest_local                   182 k
 fcoe-utils                                     x86_64                   1.0.28-3.el6                                ol6_latest_local                   103 k
 genisoimage                                    x86_64                   1.1.9-12.el6                                ol6_latest_local                   348 k
 iscsi-initiator-utils                          x86_64                   6.2.0.873-10.0.3.el6                        ol6_latest_local                   719 k
 isomd5sum                                      x86_64                   1:1.0.6-1.el6                               ol6_latest_local                    23 k
 libconfig                                      x86_64                   1.3.2-1.1.el6                               ol6_latest_local                    50 k
 libhbaapi                                      x86_64                   2.2.9-1.el6                                 ol6_latest_local                    20 k
 libhbalinux                                    x86_64                   1.0.16-1.el6                                ol6_latest_local                    31 k
 lldpad                                         x86_64                   0.9.46-3.el6_5                              ol6_latest_local                   215 k
 lldpad-libs                                    x86_64                   0.9.46-3.el6_5                              ol6_latest_local                    28 k
 makebootfat                                    x86_64                   1.4-10.el6                                  ol6_latest_local                    41 k
 pykickstart                                    noarch                   1.74.14-1.el6                               ol6_latest_local                   309 k
 pyparted                                       x86_64                   3.4-4.el6                                   ol6_latest_local                   183 k
 python-cryptsetup                              x86_64                   0.0.11-1.el6                                ol6_latest_local                    22 k
 python-deltarpm                                x86_64                   3.5-0.5.20090913git.el6                     ol6_latest_local                    27 k
 python-pyblock                                 x86_64                   0.48-1.el6                                  ol6_latest_local                    66 k
 squashfs-tools                                 x86_64                   4.0-5.el6                                   ol6_latest_local                    80 k
 syslinux                                       x86_64                   4.02-16.el6_5                               ol6_latest_local                   330 k
 syslinux-nonlinux                              i686                     4.02-16.el6_5                               ol6_latest_local                   513 k
 system-config-language                         noarch                   1.3.4-6.el6                                 ol6_latest_local                   143 k
Updating for dependencies:
 kpartx                                         x86_64                   0.4.9-72.0.1.el6_5.4                        ol6_latest_local                    59 k

Transaction Summary
==============================================================================================================================================================
Install      26 Package(s)
Upgrade       1 Package(s)

Total download size: 7.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/27): anaconda-13.21.215-1.0.2.el6.x86_64.rpm                                                                                        | 3.2 MB     00:00
(2/27): anaconda-yum-plugins-1.0-5.1.el6.noarch.rpm                                                                                    |  12 kB     00:00
(3/27): createrepo-0.9.9-18.0.1.el6.noarch.rpm                                                                                         |  94 kB     00:00
(4/27): deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm                                                                                    |  70 kB     00:00
(5/27): device-mapper-multipath-0.4.9-72.0.1.el6_5.4.x86_64.rpm                                                                        | 117 kB     00:00
(6/27): device-mapper-multipath-libs-0.4.9-72.0.1.el6_5.4.x86_64.rpm                                                                   | 182 kB     00:00
(7/27): fcoe-utils-1.0.28-3.el6.x86_64.rpm                                                                                             | 103 kB     00:00
(8/27): genisoimage-1.1.9-12.el6.x86_64.rpm                                                                                            | 348 kB     00:00
(9/27): iscsi-initiator-utils-6.2.0.873-10.0.3.el6.x86_64.rpm                                                                          | 719 kB     00:00
(10/27): isomd5sum-1.0.6-1.el6.x86_64.rpm                                                                                              |  23 kB     00:00
(11/27): kpartx-0.4.9-72.0.1.el6_5.4.x86_64.rpm                                                                                        |  59 kB     00:00
(12/27): libconfig-1.3.2-1.1.el6.x86_64.rpm                                                                                            |  50 kB     00:00
(13/27): libhbaapi-2.2.9-1.el6.x86_64.rpm                                                                                              |  20 kB     00:00
(14/27): libhbalinux-1.0.16-1.el6.x86_64.rpm                                                                                           |  31 kB     00:00
(15/27): lldpad-0.9.46-3.el6_5.x86_64.rpm                                                                                              | 215 kB     00:00
(16/27): lldpad-libs-0.9.46-3.el6_5.x86_64.rpm                                                                                         |  28 kB     00:00
(17/27): makebootfat-1.4-10.el6.x86_64.rpm                                                                                             |  41 kB     00:00
(18/27): pykickstart-1.74.14-1.el6.noarch.rpm                                                                                          | 309 kB     00:00
(19/27): pyparted-3.4-4.el6.x86_64.rpm                                                                                                 | 183 kB     00:00
(20/27): python-cryptsetup-0.0.11-1.el6.x86_64.rpm                                                                                     |  22 kB     00:00
(21/27): python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm                                                                            |  27 kB     00:00
(22/27): python-pyblock-0.48-1.el6.x86_64.rpm                                                                                          |  66 kB     00:00
(23/27): squashfs-tools-4.0-5.el6.x86_64.rpm                                                                                           |  80 kB     00:00
(24/27): syslinux-4.02-16.el6_5.x86_64.rpm                                                                                             | 330 kB     00:00
(25/27): syslinux-nonlinux-4.02-16.el6_5.i686.rpm                                                                                      | 513 kB     00:00
(26/27): system-config-kickstart-2.8.6.5-1.0.1.el6.noarch.rpm                                                                          | 330 kB     00:00
(27/27): system-config-language-1.3.4-6.el6.noarch.rpm                                                                                 | 143 kB     00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                         1.3 MB/s | 7.2 MB     00:05
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : syslinux-nonlinux-4.02-16.el6_5.i686                                                                                                      1/28
  Installing : syslinux-4.02-16.el6_5.x86_64                                                                                                             2/28
  Installing : pykickstart-1.74.14-1.el6.noarch                                                                                                          3/28
  Installing : pyparted-3.4-4.el6.x86_64                                                                                                                 4/28
  Installing : libhbaapi-2.2.9-1.el6.x86_64                                                                                                              5/28
  Installing : libhbalinux-1.0.16-1.el6.x86_64                                                                                                           6/28
  Installing : python-pyblock-0.48-1.el6.x86_64                                                                                                          7/28
  Installing : lldpad-libs-0.9.46-3.el6_5.x86_64                                                                                                         8/28
  Installing : system-config-language-1.3.4-6.el6.noarch                                                                                                 9/28
  Installing : makebootfat-1.4-10.el6.x86_64                                                                                                            10/28
  Installing : python-cryptsetup-0.0.11-1.el6.x86_64                                                                                                    11/28
  Installing : iscsi-initiator-utils-6.2.0.873-10.0.3.el6.x86_64                                                                                        12/28
  Installing : deltarpm-3.5-0.5.20090913git.el6.x86_64                                                                                                  13/28
  Installing : python-deltarpm-3.5-0.5.20090913git.el6.x86_64                                                                                           14/28
  Installing : createrepo-0.9.9-18.0.1.el6.noarch                                                                                                       15/28
  Updating   : kpartx-0.4.9-72.0.1.el6_5.4.x86_64                                                                                                       16/28
  Installing : squashfs-tools-4.0-5.el6.x86_64                                                                                                          17/28
  Installing : genisoimage-1.1.9-12.el6.x86_64                                                                                                          18/28
  Installing : device-mapper-multipath-libs-0.4.9-72.0.1.el6_5.4.x86_64                                                                                 19/28
  Installing : device-mapper-multipath-0.4.9-72.0.1.el6_5.4.x86_64                                                                                      20/28
  Installing : 1:isomd5sum-1.0.6-1.el6.x86_64                                                                                                           21/28
  Installing : 1:anaconda-yum-plugins-1.0-5.1.el6.noarch                                                                                                22/28
  Installing : libconfig-1.3.2-1.1.el6.x86_64                                                                                                           23/28
  Installing : lldpad-0.9.46-3.el6_5.x86_64                                                                                                             24/28
  Installing : fcoe-utils-1.0.28-3.el6.x86_64                                                                                                           25/28
  Installing : anaconda-13.21.215-1.0.2.el6.x86_64                                                                                                      26/28
  Installing : system-config-kickstart-2.8.6.5-1.0.1.el6.noarch                                                                                         27/28
  Cleanup    : kpartx-0.4.9-64.0.2.el6.x86_64                                                                                                           28/28
  Verifying  : libconfig-1.3.2-1.1.el6.x86_64                                                                                                            1/28
  Verifying  : fcoe-utils-1.0.28-3.el6.x86_64                                                                                                            2/28
  Verifying  : 1:anaconda-yum-plugins-1.0-5.1.el6.noarch                                                                                                 3/28
  Verifying  : 1:isomd5sum-1.0.6-1.el6.x86_64                                                                                                            4/28
  Verifying  : syslinux-4.02-16.el6_5.x86_64                                                                                                             5/28
  Verifying  : anaconda-13.21.215-1.0.2.el6.x86_64                                                                                                       6/28
  Verifying  : device-mapper-multipath-libs-0.4.9-72.0.1.el6_5.4.x86_64                                                                                  7/28
  Verifying  : genisoimage-1.1.9-12.el6.x86_64                                                                                                           8/28
  Verifying  : libhbaapi-2.2.9-1.el6.x86_64                                                                                                              9/28
  Verifying  : lldpad-0.9.46-3.el6_5.x86_64                                                                                                             10/28
  Verifying  : squashfs-tools-4.0-5.el6.x86_64                                                                                                          11/28
  Verifying  : kpartx-0.4.9-72.0.1.el6_5.4.x86_64                                                                                                       12/28
  Verifying  : deltarpm-3.5-0.5.20090913git.el6.x86_64                                                                                                  13/28
  Verifying  : libhbalinux-1.0.16-1.el6.x86_64                                                                                                          14/28
  Verifying  : iscsi-initiator-utils-6.2.0.873-10.0.3.el6.x86_64                                                                                        15/28
  Verifying  : python-cryptsetup-0.0.11-1.el6.x86_64                                                                                                    16/28
  Verifying  : makebootfat-1.4-10.el6.x86_64                                                                                                            17/28
  Verifying  : python-deltarpm-3.5-0.5.20090913git.el6.x86_64                                                                                           18/28
  Verifying  : syslinux-nonlinux-4.02-16.el6_5.i686                                                                                                     19/28
  Verifying  : pyparted-3.4-4.el6.x86_64                                                                                                                20/28
  Verifying  : python-pyblock-0.48-1.el6.x86_64                                                                                                         21/28
  Verifying  : pykickstart-1.74.14-1.el6.noarch                                                                                                         22/28
  Verifying  : device-mapper-multipath-0.4.9-72.0.1.el6_5.4.x86_64                                                                                      23/28
  Verifying  : system-config-language-1.3.4-6.el6.noarch                                                                                                24/28
  Verifying  : system-config-kickstart-2.8.6.5-1.0.1.el6.noarch                                                                                         25/28
  Verifying  : lldpad-libs-0.9.46-3.el6_5.x86_64                                                                                                        26/28
  Verifying  : createrepo-0.9.9-18.0.1.el6.noarch                                                                                                       27/28
  Verifying  : kpartx-0.4.9-64.0.2.el6.x86_64                                                                                                           28/28

Installed:
  system-config-kickstart.noarch 0:2.8.6.5-1.0.1.el6

Dependency Installed:
  anaconda.x86_64 0:13.21.215-1.0.2.el6                                       anaconda-yum-plugins.noarch 1:1.0-5.1.el6
  createrepo.noarch 0:0.9.9-18.0.1.el6                                        deltarpm.x86_64 0:3.5-0.5.20090913git.el6
  device-mapper-multipath.x86_64 0:0.4.9-72.0.1.el6_5.4                       device-mapper-multipath-libs.x86_64 0:0.4.9-72.0.1.el6_5.4
  fcoe-utils.x86_64 0:1.0.28-3.el6                                            genisoimage.x86_64 0:1.1.9-12.el6
  iscsi-initiator-utils.x86_64 0:6.2.0.873-10.0.3.el6                         isomd5sum.x86_64 1:1.0.6-1.el6
  libconfig.x86_64 0:1.3.2-1.1.el6                                            libhbaapi.x86_64 0:2.2.9-1.el6
  libhbalinux.x86_64 0:1.0.16-1.el6                                           lldpad.x86_64 0:0.9.46-3.el6_5
  lldpad-libs.x86_64 0:0.9.46-3.el6_5                                         makebootfat.x86_64 0:1.4-10.el6
  pykickstart.noarch 0:1.74.14-1.el6                                          pyparted.x86_64 0:3.4-4.el6
  python-cryptsetup.x86_64 0:0.0.11-1.el6                                     python-deltarpm.x86_64 0:3.5-0.5.20090913git.el6
  python-pyblock.x86_64 0:0.48-1.el6                                          squashfs-tools.x86_64 0:4.0-5.el6
  syslinux.x86_64 0:4.02-16.el6_5                                             syslinux-nonlinux.i686 0:4.02-16.el6_5
  system-config-language.noarch 0:1.3.4-6.el6

Dependency Updated:
  kpartx.x86_64 0:0.4.9-72.0.1.el6_5.4

Complete!
pqrst.us.company.com: / >
pqrst.us.company.com: / >

pqrst.us.company.com: / >
pqrst.us.company.com: / > yum list | grep system-config-kickstart
system-config-kickstart.noarch         2.8.6.5-1.0.1.el6        @ol6_latest_local
pqrst.us.company.com: / >

pqrst.us.company.com: / >

pqrst.us.company.com: / > system-config-kickstart





































No comments:

Post a Comment