mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-22 23:33:08 +00:00
enable initial-setup.service
initail-setup.service now handles running both the gui mode and text mode running of initial-setup so just enable the one service and no longer do any special handling rhbz#1296495 Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
parent
f5f7fb74e7
commit
21c9f3a5d2
@ -14,7 +14,7 @@ part / --size=3000 --fstype ext4
|
|||||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||||
firstboot --reconfig
|
firstboot --reconfig
|
||||||
|
|
||||||
services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd --disabled=network
|
services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup --disabled=network
|
||||||
|
|
||||||
%include fedora-repo.ks
|
%include fedora-repo.ks
|
||||||
|
|
||||||
|
@ -19,9 +19,5 @@ rm -f /etc/systemd/system/default.target
|
|||||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||||
echo .
|
echo .
|
||||||
|
|
||||||
echo -n "Enabling initial-setup text mode on startup"
|
|
||||||
ln -s /usr/lib/systemd/system/initial-setup-text.service /etc/systemd/system/multi-user.target.wants/initial-setup-text.service
|
|
||||||
echo .
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
@ -23,9 +23,5 @@ rm -f /etc/systemd/system/default.target
|
|||||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||||
echo .
|
echo .
|
||||||
|
|
||||||
echo -n "Enabling initial-setup text mode on startup"
|
|
||||||
ln -s /usr/lib/systemd/system/initial-setup-text.service /etc/systemd/system/multi-user.target.wants/initial-setup-text.service
|
|
||||||
echo .
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user