aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorapalos <apalos@apalos.home>2019-09-13 17:43:00 +0300
committerapalos <apalos@apalos.home>2019-09-13 17:43:00 +0300
commitf3705d78e7534a28a869d3b01670f3e630977981 (patch)
treec385d7dba72367368773c44f6d4659396542096b
parent38bb321e5c2c4e14a08e93a7352c5dafc981321b (diff)
added kickstart for fedora iot
Signed-off-by: apalos <apalos@apalos.home>
-rw-r--r--f30-iot.ks46
1 files changed, 46 insertions, 0 deletions
diff --git a/f30-iot.ks b/f30-iot.ks
new file mode 100644
index 0000000..6ff9e0d
--- /dev/null
+++ b/f30-iot.ks
@@ -0,0 +1,46 @@
+#version=DEVEL
+ignoredisk --only-use=vda
+autopart --type=lvm
+
+# Partition clearing information
+clearpart --all --initlabel --drives=vda
+# OSTree setup
+ostreesetup --osname="fedora-iot" --remote="fedora-iot" --url="file:///ostree/repo" --ref="fedora/stable/aarch64/iot" --nogpg
+# Use network installation
+url --url="https://kojipkgs.fedoraproject.org/compose/iot/Fedora-IoT-30-20190730.0/compose/IoT/aarch64/os/"
+# Use graphical install
+text
+# Keyboard layouts
+keyboard --vckeymap=us --xlayouts='us'
+# System language
+lang en_CA.UTF-8
+
+# Root password
+rootpw fedora
+
+# 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/Rainy_River --isUtc
+user --groups=wheel --name=tester --password=fedora --plaintext
+
+%post --erroronfail
+
+rm -f /etc/ostree/remotes.d/fedora-iot.conf
+ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-iot-2019 fedora-iot 'https://dl.fedoraproject.org/iot/repo/'
+cp /etc/skel/.bash* /root
+%end
+
+%addon com_redhat_kdump --disable --reserve-mb='128'
+
+%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