summaryrefslogtreecommitdiffstats
path: root/tests/vm/centos-8-aarch64.ks
diff options
context:
space:
mode:
authorRobert Foley2020-07-01 15:56:22 +0200
committerAlex Bennée2020-07-11 16:52:59 +0200
commitd322fe2daf1bd3572b7917f6beafbc1cfbfe50fe (patch)
tree3f8fd52dcab2638bf0f6a25cdaa8c7462822a60a /tests/vm/centos-8-aarch64.ks
parenttests/vm: Added a new script for ubuntu.aarch64. (diff)
downloadqemu-d322fe2daf1bd3572b7917f6beafbc1cfbfe50fe.tar.gz
qemu-d322fe2daf1bd3572b7917f6beafbc1cfbfe50fe.tar.xz
qemu-d322fe2daf1bd3572b7917f6beafbc1cfbfe50fe.zip
tests/vm: Added a new script for centos.aarch64.
centos.aarch64 creates a CentOS 8 image. Also added a new kickstart script used to build the centos.aarch64 image. Signed-off-by: Robert Foley <robert.foley@linaro.org> Reviewed-by: Peter Puhov <peter.puhov@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20200601211421.1277-7-robert.foley@linaro.org> Message-Id: <20200701135652.1366-11-alex.bennee@linaro.org>
Diffstat (limited to 'tests/vm/centos-8-aarch64.ks')
-rw-r--r--tests/vm/centos-8-aarch64.ks51
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/vm/centos-8-aarch64.ks b/tests/vm/centos-8-aarch64.ks
new file mode 100644
index 0000000000..fd6ebe4d49
--- /dev/null
+++ b/tests/vm/centos-8-aarch64.ks
@@ -0,0 +1,51 @@
+# CentOS aarch64 image kickstart file.
+# This file is used by the CentOS installer to
+# script the generation of the image.
+#
+# Copyright 2020 Linaro
+#
+ignoredisk --only-use=vda
+# System bootloader configuration
+bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=vda
+autopart --type=plain
+# Partition clearing information
+clearpart --linux --initlabel --drives=vda
+# Use text mode install
+text
+repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream
+# Use CDROM installation media
+cdrom
+# Keyboard layouts
+keyboard --vckeymap=us --xlayouts=''
+# System language
+lang en_US.UTF-8
+
+# Network information
+network --bootproto=dhcp --device=enp0s1 --onboot=off --ipv6=auto --no-activate
+network --hostname=localhost.localdomain
+# Run the Setup Agent on first boot
+firstboot --enable
+# Do not configure the X Window System
+skipx
+# System services
+services --enabled="chronyd"
+# System timezone
+timezone America/New_York --isUtc
+
+# Shutdown after installation is complete.
+shutdown
+
+%packages
+@^server-product-environment
+kexec-tools
+
+%end
+
+%addon com_redhat_kdump --enable --reserve-mb='auto'
+
+%end
+%anaconda
+pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
+pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
+pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
+%end