live-workstation: suppress redundant anaconda spokes

This implements most of the changes required for

https://fedoraproject.org/wiki/Changes/ReduceInitialSetupRedundancy
This commit is contained in:
Michael Catanzaro 2018-01-25 17:57:43 -06:00
parent cd0ff18d97
commit cf3866c28b

View File

@ -27,6 +27,21 @@ FOE
mkdir ~liveuser/.config mkdir ~liveuser/.config
touch ~liveuser/.config/gnome-initial-setup-done touch ~liveuser/.config/gnome-initial-setup-done
# suppress anaconda spokes redundant with gnome-initial-setup
cat >> /etc/sysconfig/anaconda << FOE
[DatetimeSpoke]
visited=1
[NetworkSpoke]
visited=1
[PasswordSpoke]
visited=1
[UserSpoke]
visited=1
FOE
# make the installer show up # make the installer show up
if [ -f /usr/share/applications/liveinst.desktop ]; then if [ -f /usr/share/applications/liveinst.desktop ]; then
# Show harddisk install in shell dash # Show harddisk install in shell dash