2021-05-04 19:08:36 +00:00
|
|
|
# Minimal OpenStack Disk Image
|
2015-04-08 21:02:26 +00:00
|
|
|
#
|
|
|
|
# Firewall configuration
|
|
|
|
firewall --enabled
|
|
|
|
# Use network installation
|
2021-05-04 19:08:36 +00:00
|
|
|
url --url="http://URL-TO-BASEOS"
|
|
|
|
repo --name=appstream --baseurl="http://URL-TO-APPSTREAM/"
|
2015-04-08 21:02:26 +00:00
|
|
|
|
|
|
|
# Root password
|
|
|
|
rootpw --plaintext replace-this-pw
|
|
|
|
# Network information
|
|
|
|
network --bootproto=dhcp --activate
|
|
|
|
# System keyboard
|
|
|
|
keyboard --xlayouts=us --vckeymap=us
|
|
|
|
# System language
|
|
|
|
lang en_US.UTF-8
|
|
|
|
# SELinux configuration
|
|
|
|
selinux --enforcing
|
|
|
|
# Installation logging level
|
|
|
|
logging --level=info
|
|
|
|
# Shutdown after installation
|
|
|
|
shutdown
|
|
|
|
# System timezone
|
|
|
|
timezone US/Eastern
|
|
|
|
# System bootloader configuration
|
|
|
|
bootloader --location=mbr
|
|
|
|
# Clear the Master Boot Record
|
|
|
|
zerombr
|
|
|
|
# Partition clearing information
|
|
|
|
clearpart --all
|
|
|
|
# Disk partitioning information
|
|
|
|
part / --fstype="ext4" --size=3000
|
|
|
|
|
2015-09-02 17:32:30 +00:00
|
|
|
%post
|
|
|
|
# Remove random-seed
|
|
|
|
rm /var/lib/systemd/random-seed
|
|
|
|
%end
|
|
|
|
|
2015-04-08 21:02:26 +00:00
|
|
|
%packages
|
|
|
|
@core
|
|
|
|
kernel
|
2016-01-13 22:31:40 +00:00
|
|
|
# Make sure that DNF doesn't pull in debug kernel to satisfy kmod() requires
|
|
|
|
kernel-modules
|
|
|
|
kernel-modules-extra
|
|
|
|
|
2015-04-08 21:02:26 +00:00
|
|
|
memtest86+
|
|
|
|
grub2-efi
|
|
|
|
grub2
|
|
|
|
shim
|
|
|
|
syslinux
|
|
|
|
-dracut-config-rescue
|
|
|
|
|
|
|
|
# dracut needs these included
|
|
|
|
dracut-network
|
|
|
|
tar
|
|
|
|
|
|
|
|
# Openstack support
|
|
|
|
cloud-utils-growpart
|
|
|
|
cloud-init
|
|
|
|
|
|
|
|
%end
|