proper application of selinux

This commit is contained in:
Karim Naufal
2022-03-01 21:57:57 +01:00
parent ecbd79743e
commit e5404b6adc
5 changed files with 41 additions and 21 deletions

View File

@@ -2,4 +2,4 @@
#cloud-boothook
# Fix hostname after reboot
hostnamectl hostname "${hostname}"
hostnamectl hostname "${hostname}"

View File

@@ -29,15 +29,14 @@ ssh_authorized_keys:
%{ endfor ~}
runcmd:
# Activate the private network
- systemctl reload network
# Activate the private network
- systemctl reload network
# Activate ssh configuration
- systemctl reload sshd
# Activate ssh configuration
- systemctl reload sshd
# Fix hostname (during first boot)
- hostnamectl hostname ${hostname}
# Fix hostname (during first boot)
- hostnamectl hostname ${hostname}
# Finishing automatic reboot via Kured setup
- rebootmgrctl set-strategy off
# Finishing automatic reboot via Kured setup
- rebootmgrctl set-strategy off