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.
This commit is contained in:
parent
590c97f2cb
commit
4948e8c002
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user