Skip to content

expeditioneer/foreman-katello-kickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foreman Katello Kickstart

Open Source Love GPL Licence

This repository contains a Kickstart file to create the necessary base system for a Foreman installation with the Katello plugin. Also, a Kickstart file the necessary base system for a RedHat Satellite installation is created.

With these kickstart files an ISO is created for each distribution and attached to the individual releases. This ISO should be present as disc during the installation for a fully automated / unattended installation. The corresponding ISO must be renamed to OEMDRV.iso when attached to the system.

This is tailored to be used when installing Foreman/Satellite as a Virtual Machine on libvirt.

For a RedHat installation the DVD ISO is required, it will not work with the minimal / boot ISO.

System / VM requirements

The VM should have at least 88GiB on the vda disk.

Installed packages

Besides the @Core package group only the packages

  • kexec-tools
  • langpacks-de
  • langpacks-en
  • python36

are installed. The packages

  • microcode_ctl
  • iwl*firmware
  • plymouth

are removed/blocked since they are not needed or do not work inside a VM.

After this base setup the further installation and configuration of Foreman with Katello is done with Ansible.

Network Configuration

The Network interface enp1s0 is set to static with the following parameters

IP: 172.16.100.20
GATEWAY: 172.16.100.254
NETMASK: 255.255.255.0
NAMESERVER: 172.16.100.254

IPv6 is disabled on the interface.

Hostname

The hostname is either satellite.management.internal or foreman.management.internal

NTP Server

Set Timezone is Europe/Berlin and the NTP Server is set to 172.16.100.254. The system clock is set to UTC

Credentials

Please change the pre-set passwords as soon as possible. These are only inteded for a first login and should be changed immediately.

Password

For the root user the pre-set password is either almalinux or redhat.

SSH Key

Remote login for the root user is only allowed with an SSH-Key (prohibit-password) where the details are listed below

Private Key

-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
QyNTUxOQAAACD8wtbIqjb9IeGLzqyU+xI8WdY3SxdN4RQv8A2JQDuX2QAAAJhd00UfXdNF
HwAAAAtzc2gtZWQyNTUxOQAAACD8wtbIqjb9IeGLzqyU+xI8WdY3SxdN4RQv8A2JQDuX2Q
AAAEBL/pYo4CGMibFrzV2LU5Ka2B2yRtx57uWjSymJ4dh8bvzC1siqNv0h4YvOrJT7EjxZ
1jdLF03hFC/wDYlAO5fZAAAAEmRlbm5pc0B3b3Jrc3RhdGlvbgECAw==
-----END OPENSSH PRIVATE KEY-----

Public Key (already present in authorized_keys of user root)

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPzC1siqNv0h4YvOrJT7EjxZ1jdLF03hFC/wDYlAO5fZ _COMMENT_

where _COMMENT_ is either satellite.management.internal or foreman.management.internal.

Links

Additional documentation and Links can

About

AlmaLinux and Red Hat based kickstart file for Foreman (with Katello) or Satellite

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages