24 lines
913 B
Plaintext
24 lines
913 B
Plaintext
# Basic setup
|
|
text
|
|
lang en_US
|
|
keyboard de
|
|
timezone Europe/Berlin
|
|
network --device=enp1s0 --bootproto=static --ip=192.168.178.3 --netmask=255.255.255.0 --gateway=192.168.178.1 --nameserver=1192.168.178.8
|
|
# Basic partitioning
|
|
clearpart --all --initlabel --disklabel=gpt --drives=sda
|
|
reqpart --add-boot
|
|
part / --grow --fstype btrfs
|
|
|
|
# Here's where we reference the container image to install - notice the kickstart
|
|
# has no `%packages` section! What's being installed here is a container image.
|
|
ostreecontainer --url gitea.wefers.page/julian/backup-server:latest
|
|
|
|
firewall --disabled
|
|
services --enabled=sshd
|
|
|
|
# Only inject a SSH key for root
|
|
rootpw --iscrypted locked
|
|
sshkey --username root "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGPAWtzq2/cuv+zPzdDSCe/5pc0HRCxmwFiI5Fu3sEok julian@local"
|
|
sshkey --username backup "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGPAWtzq2/cuv+zPzdDSCe/5pc0HRCxmwFiI5Fu3sEok julian@local"
|
|
reboot
|