Last active
April 23, 2020 13:30
-
-
Save haraldh/988146c43a8972c7fcb0b1d4d98bbd68 to your computer and use it in GitHub Desktop.
test kickstart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text | |
lang en_US.UTF-8 | |
keyboard us | |
timezone US/Eastern | |
selinux --enforcing | |
firewall --enabled | |
services --enabled=sshd,systemd-networkd,systemd-resolved,chronyd,zram-swap | |
network --bootproto=dhcp --device=link --activate | |
reboot | |
zerombr | |
clearpart --all --initlabel --disklabel=gpt | |
autopart --type=plain --noswap | |
bootloader --timeout=1 | |
url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch | |
repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch | |
repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch | |
#repo --name=updates-testing --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch | |
repo --name=enarx --baseurl=https://download.copr.fedorainfracloud.org/results/npmccallum/enarx/fedora-$releasever-$basearch/ | |
rootpw --lock --iscrypted locked | |
user --name=harald --groups=wheel --iscrypted --password=$6$hiUxq0PKF1iUx/01$BBrWL1bUcY/54gdgKjUyKynqihS4cd3mhOKelwZkJiQnCBVLn44G5z4LxVv.xAli7H1msbkR2SW1I1XM7/Jet1sshkey --username=harald "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/ziasupvk3yQ6Tqb/JiQ6gPwdKzDR26S5W5w6byx3FYEztkiGLi8wsFC+mOWrirwVTma3M0TO1DnYjwXvsU7kSoQQarS8bG+CoPIifcF1a5SEeJKPifsYUIB7GSMUY4yomdRe7+AdP8nSqlHdoij6fN/+rfUs+3nTrq4TAkFyg5hqQBQp32DrM1Och5KXMvOCak75TQoxrfpKyhlCuoWVotnvxWMFgfCGUYC6Q2nKPn3y1EtFs9Y/Zi8H5VzLjrhmbJYd7yTA6HPBqDpEnaaL+vXAoqPC1Vzu+gI2jOumhg+4eN3kfbzP5Sz0ljhmYKpHBPE0+sPKMLtWZBW9gUSr cardno:000606910294" | |
%packages | |
@hardware-support | |
@core | |
glibc-langpack-en | |
rng-tools | |
chrony | |
kernel | |
zram | |
-dracut-config-generic | |
-dracut-config-rescue | |
-xkeyboard-config | |
-NetworkManager | |
-usb_modeswitch | |
-gnome-keyring | |
-iproute-tc | |
-trousers | |
-alsa* | |
-b43* | |
-iwl* | |
-ipw* | |
%end | |
%post | |
# Allow users in the wheel group to use sudo without a password | |
install -o root -g root -m 600 /dev/stdin /etc/sudoers.d/nopasswd <<EOF | |
%wheel ALL=(ALL) NOPASSWD: ALL | |
EOF | |
# Use systemd-networkd and systemd-resolved | |
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf | |
rm -f /etc/sysconfig/network-scripts/ifcfg-* | |
cat >/etc/systemd/network/ether.network <<EOF | |
[Match] | |
Type=ether | |
[Network] | |
DHCP=yes | |
EOF | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment