EX403 Study Notes
EX403 Study Notes
## Exam objectives:
https://www.lisenet.com/2018/homelab-project-with-kvm-katello-and-puppet/
#---------------------------------------------------------------------
# satellite-installer \
--scenario satellite \
--foreman-admin-username admin \
--foreman-admin-password password \
--foreman-proxy-dns true \
--foreman-proxy-dhcp true \
--foreman-proxy-tftp true \
--foreman-proxy-dns-interface eth0 \
--foreman-proxy-dhcp-interface eth0 \
--foreman-proxy-dns-zone ex403.hl.local \
--foreman-proxy-dns-forwarders 10.11.1.2 \
--foreman-proxy-dns-reverse 1.11.10.in-addr.arpa \
--foreman-proxy-dhcp-range "10.11.1.90 10.11.1.95" \
--foreman-proxy-dhcp-gateway 10.11.1.1 \
--foreman-proxy-dhcp-nameservers 10.11.1.70
#---------------------------------------------------------------------
# wget http://example.com/satellite-capsule-6-dvd.iso
# mount -o loop ./satellite-capsule-6-dvd.iso /mnt
# cp /mnt/media.repo /etc/yum.repos.d/capsule.repo
# echo "baseurl=file:///mnt/" >> /etc/yum.repos.d/capsule.repo
# chmod 0644 /etc/yum.repos.d/capsule.repo
# yum install -y satellite-capsule
# yum -y localinstall \
http://satellite.hl.local/pub/katello-ca-consumer-latest.noarch.rpm
# subscription-manager register --org=Default_Organization
#---------------------------------------------------------------------
# yum -y localinstall \
http://satellite.hl.local/pub/katello-ca-consumer-latest.noarch.rpm
# subscription-manager clean
# subscription-manager register --org=Default_Organization
# yum -y install katello-agent
#---------------------------------------------------------------------
$ rpmdev-setuptree
$ cp homelab-1.0.tar.gz rpmbuild/SOURCES/
$ cd rpmbuild/SPECS
$ rpmdev-newspec homelab
$ vim homelab.spec
$ rpmlint homelab.spec
$ rpmbuild -ba homelab.spec
#---------------------------------------------------------------------
#---------------------------------------------------------------------
#---------------------------------------------------------------------
#---------------------------------------------------------------------
#---------------------------------------------------------------------
#---------------------------------------------------------------------
#---------------------------------------------------------------------
#---------------------------------------------------------------------
#---------------------------------------------------------------------
https://www.lisenet.com/2018/katello-working-with-puppet-modules-and-creating-the-
main-manifest/
#---------------------------------------------------------------------
#---------------------------------------------------------------------
COM32 chain.c32
APPEND hd0
#---------------------------------------------------------------------
## Deploy clients using kick starts.
# vim custom_template.txt
#---------------------------------------------------------------------