Add Server disk image for aarch64

This is a generic disk image that should be usable on any architecture with
imagefactory or live-media-creator (possibly with package tweaks).

Minor tweaks to the autopart across Minimal/Workstation for Server defaults.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
This commit is contained in:
Peter Robinson 2017-04-12 17:37:43 +01:00
parent 09afeb926f
commit 7e810e6fb7
4 changed files with 29 additions and 1 deletions

View File

@ -23,7 +23,6 @@ bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,11520
zerombr
clearpart --all --initlabel --disklabel=msdos
autopart --type=plain
# make sure that initial-setup runs and lets us do all the configuration bits
firstboot --reconfig

View File

@ -1,2 +1,4 @@
%include fedora-disk-base.ks
%include fedora-minimal-common.ks
autopart --type=plain

25
fedora-disk-server.ks Normal file
View File

@ -0,0 +1,25 @@
%include fedora-disk-base.ks
autopart
%packages
# install the default groups for the server evironment since installing the environment is not working
@server-product
@standard
@headless-management
@container-management
@domain-client
-initial-setup-gui
-generic-release*
%end
%post
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
%end

View File

@ -4,6 +4,8 @@
bootloader --append="cma=256MB"
autopart --type=plain
%packages
-initial-setup
-initial-setup-gui