commit e8bbd2f00b0413853d459b82d1fff52d6da4a008
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Fri May 30 08:30:17 2014 -0500
CLOUD: fix up the kickstart to make the world happy
fedora-cloud-base.ks | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/fedora-cloud-base.ks b/fedora-cloud-base.ks
index 685794b..d8408b7 100644
--- a/fedora-cloud-base.ks
+++ b/fedora-cloud-base.ks
@@ -18,14 +18,14 @@ timezone --utc Etc/UTC
auth --useshadow --enablemd5
selinux --enforcing
-rootpw --lock
-user --name=dummy --password=none --plaintext
+rootpw --lock --iscrypted locked
+user --name=none
firewall --disabled
bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8" extlinux
-network --bootproto=dhcp --device=ens3 --activate --onboot=on
+network --bootproto=dhcp --device=eth0 --activate --onboot=on
services
--enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
@@ -108,6 +108,8 @@ ln -sf /boot/grub/grub.conf /etc/grub.conf
# older versions of livecd-tools do not follow "rootpw --lock" line above
#
https://bugzilla.redhat.com/show_bug.cgi?id=964299
passwd -l root
+# remove the user anaconda forces us to make
+userdel -r none
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
@@ -221,9 +223,6 @@ 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 || :