mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 13:45:39 +00:00
try creating and deleting a user
This commit is contained in:
parent
e41164127e
commit
dd1f2890a0
@ -18,13 +18,14 @@ timezone --utc Etc/UTC
|
||||
|
||||
auth --useshadow --enablemd5
|
||||
selinux --enforcing
|
||||
rootpw --lock --iscrypted locked
|
||||
rootpw --lock
|
||||
user --name=dummy --password=none --plaintext
|
||||
|
||||
firewall --disabled
|
||||
|
||||
bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8" extlinux
|
||||
|
||||
network --bootproto=dhcp --device=ens3 --activate --onboot=on
|
||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
@ -220,6 +221,9 @@ chattr -i /boot/extlinux/ldlinux.sys
|
||||
/usr/sbin/fixfiles -R -a restore
|
||||
chattr +i /boot/extlinux/ldlinux.sys
|
||||
|
||||
userdel dummy
|
||||
rm -rf /home/dummy
|
||||
|
||||
echo "Zeroing out empty space."
|
||||
# This forces the filesystem to reclaim space from deleted files
|
||||
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||
|
Loading…
Reference in New Issue
Block a user