1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-25 16:43:08 +00:00

Add zram package and enable initial support

As part of the ZRAM on ARM feature add support and enable zram service.

https://fedoraproject.org/wiki/Changes/ZRAMforARMimages

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
This commit is contained in:
Peter Robinson 2018-07-19 11:54:38 +01:00
parent 00d745bd6c
commit 66d587dc54
6 changed files with 11 additions and 10 deletions

View File

@ -8,13 +8,12 @@ bootloader --location=mbr
part /boot/fw --size=30 --fstype vfat --asprimary
part /boot --size=512 --fstype ext4 --asprimary
part swap --size=512 --fstype swap --asprimary
part / --size=2800 --fstype ext4 --asprimary
# make sure that initial-setup runs and lets us do all the configuration bits
firstboot --reconfig
services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup
services --enabled=sshd,NetworkManager,avahi-daemon,chronyd,initial-setup,zram-swap
%include fedora-repo.ks
@ -22,6 +21,7 @@ services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setu
@core
@standard
@hardware-support
zram
kernel
# remove this in %post

View File

@ -14,7 +14,7 @@ timezone US/Eastern
auth --useshadow --passalgo=sha512
selinux --enforcing
firewall --enabled --service=mdns
services --enabled=sshd,NetworkManager,chronyd
services --enabled=sshd,NetworkManager,chronyd,zram-swap
network --bootproto=dhcp --device=link --activate
rootpw --lock --iscrypted locked
shutdown
@ -33,6 +33,7 @@ firstboot --reconfig
@core
@standard
@hardware-support
zram
kernel
# remove this in %post

View File

@ -1,9 +1,9 @@
%include fedora-disk-base.ks
%include fedora-minimal-common.ks
services --enabled=sshd,NetworkManager,chronyd,initial-setup
services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
autopart --type=plain
autopart --type=plain --noswap
%packages
-xkeyboard-config

View File

@ -1,8 +1,8 @@
%include fedora-disk-base.ks
services --enabled=sshd,NetworkManager,chronyd,initial-setup
services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
autopart
autopart --noswap
%packages
# install the default groups for the server environment since installing the environment is not working

View File

@ -4,9 +4,9 @@
bootloader --append="cma=256MB"
services --enabled=sshd,NetworkManager,chronyd
services --enabled=sshd,NetworkManager,chronyd,zram-swap
autopart --type=plain
autopart --type=plain --noswap
%packages
-initial-setup

View File

@ -13,7 +13,7 @@ rootpw --lock --iscrypted locked
bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8 console=ttyS1,115200n8 console=ttyAMA0,115200n8 net.ifnames=0 modprobe.blacklist=vc4"
network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=NetworkManager,sshd,rngd,initial-setup
services --enabled=NetworkManager,sshd,rngd,initial-setup,zram-swap
# tell Initial Setup to run in the reconfig mode
firstboot --reconfig --enable