#!/bin/bash

echo "Downloading packages"
yum update -y --downloadonly --downloaddir=/var/preserve 
yum install -y --downloadonly --downloaddir=/var/preserve cockpit git ansible skopeo podman Networkanager NetworkManager-team NetworkManager-tui NetworkManager-wifi device-mapper \
  device-mapper-event device-mapper-event-libs lvm2 cockpit-dashboard cockpit-docker docker
#rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
#rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
#The container needs some packages in order to download the kernel
#yum install -y --enablerepo="elrepo-kernel" kernel-ml
#yum install -y --disablerepo="*" --enablerepo="elrepo-kernel" --downloadonly --downloaddir=/var/preserve kernel-ml

#!/bin/bash

echo "Downloading packages"
yum update -y --downloadonly --downloaddir=/var/preserve 
yum install -y --downloadonly --downloaddir=/var/preserve cockpit git ansible skopeo podman Networkanager NetworkManager-team NetworkManager-tui NetworkManager-wifi device-mapper \
  device-mapper-event device-mapper-event-libs lvm2 cockpit-dashboard cockpit-docker cockpit-pcp cockpit-storaged cockpit-packagekit docker dhcp pcp
#rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
#rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
#The container needs some packages in order to download the kernel
#yum install -y --enablerepo="elrepo-kernel" kernel-ml
#yum install -y --disablerepo="*" --enablerepo="elrepo-kernel" --downloadonly --downloaddir=/var/preserve kernel-ml

Add more packages to installer repo
Add more packages to installer repo
