init
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Basic setup
|
||||
text
|
||||
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 ext4
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user