From 4948e8c00265cb3fb934c867316d93960f2f6564 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Mon, 1 May 2017 13:16:19 -0400 Subject: [PATCH] atomic, cloud: don't create none user Anaconda doesn't seem to require it anymore so no need to create it and then delete it. --- fedora-atomic.ks | 3 --- fedora-cloud-base.ks | 3 --- 2 files changed, 6 deletions(-) diff --git a/fedora-atomic.ks b/fedora-atomic.ks index ca42eb2..e71298c 100644 --- a/fedora-atomic.ks +++ b/fedora-atomic.ks @@ -14,7 +14,6 @@ timezone --utc Etc/UTC auth --useshadow --passalgo=sha512 selinux --enforcing rootpw --lock --iscrypted locked -user --name=none firewall --disabled @@ -44,8 +43,6 @@ ostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject # 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 # Work around https://bugzilla.redhat.com/show_bug.cgi?id=1193590 cp /etc/skel/.bash* /var/roothome diff --git a/fedora-cloud-base.ks b/fedora-cloud-base.ks index 966bb9f..637a7f2 100644 --- a/fedora-cloud-base.ks +++ b/fedora-cloud-base.ks @@ -32,7 +32,6 @@ timezone --utc Etc/UTC auth --useshadow --passalgo=sha512 selinux --enforcing rootpw --lock --iscrypted locked -user --name=none firewall --disabled @@ -116,8 +115,6 @@ 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 # setup systemd to boot to the right runlevel echo -n "Setting default runlevel to multiuser text mode"