From 7e810e6fb7916138fc4a5240c48ff3c454a6234b Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 12 Apr 2017 17:37:43 +0100 Subject: [PATCH] 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 --- fedora-disk-base.ks | 1 - fedora-disk-minimal.ks | 2 ++ fedora-disk-server.ks | 25 +++++++++++++++++++++++++ fedora-disk-workstation.ks | 2 ++ 4 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 fedora-disk-server.ks diff --git a/fedora-disk-base.ks b/fedora-disk-base.ks index 4ff9c6f..d800f19 100644 --- a/fedora-disk-base.ks +++ b/fedora-disk-base.ks @@ -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 diff --git a/fedora-disk-minimal.ks b/fedora-disk-minimal.ks index b37562b..c829ecf 100644 --- a/fedora-disk-minimal.ks +++ b/fedora-disk-minimal.ks @@ -1,2 +1,4 @@ %include fedora-disk-base.ks %include fedora-minimal-common.ks + +autopart --type=plain diff --git a/fedora-disk-server.ks b/fedora-disk-server.ks new file mode 100644 index 0000000..83505c3 --- /dev/null +++ b/fedora-disk-server.ks @@ -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 + diff --git a/fedora-disk-workstation.ks b/fedora-disk-workstation.ks index 8ca93a7..2cfac16 100644 --- a/fedora-disk-workstation.ks +++ b/fedora-disk-workstation.ks @@ -4,6 +4,8 @@ bootloader --append="cma=256MB" +autopart --type=plain + %packages -initial-setup -initial-setup-gui