aboutsummaryrefslogtreecommitdiff
path: root/f30-iot.ks
blob: 5d8444c5d65fb0e7347ea0fa89ac5c73863e3172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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/x86_64/iot" --nogpg
# Use network installation
url --url="https://kojipkgs.fedoraproject.org/compose/iot/Fedora-IoT-30-20190730.0/compose/IoT/x86_64/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