Line 254... |
Line 254... |
254 |
systemctl stop mdmonitor-takeover.service 2> /dev/null || :
|
254 |
systemctl stop mdmonitor-takeover.service 2> /dev/null || :
|
255 |
|
255 |
|
256 |
# don't enable the gnome-settings-daemon packagekit plugin
|
256 |
# don't enable the gnome-settings-daemon packagekit plugin
|
257 |
echo -e "\ngsettings set org.gnome.settings-daemon.plugins.updates active 'false' &>/dev/null || :" >> /home/liveuser/.bashrc
|
257 |
echo -e "\ngsettings set org.gnome.settings-daemon.plugins.updates active 'false' &>/dev/null || :" >> /home/liveuser/.bashrc
|
258 |
|
258 |
|
- |
|
259 |
# arrange icons on desktop
|
- |
|
260 |
echo -e "\ngvfs-set-attribute -t string '/home/liveuser/Desktop/system-config-keyboard.desktop' 'metadata::nautilus-icon-position' '60,22' &>/dev/null || :" >> /home/liveuser/.bashrc
|
- |
|
261 |
echo "gvfs-set-attribute -t string '/home/liveuser/Desktop/liveinst.desktop' 'metadata::nautilus-icon-position' '60,122' &>/dev/null || :" >> /home/liveuser/.bashrc
|
- |
|
262 |
|
- |
|
263 |
# no trash icon
|
- |
|
264 |
echo -e "\ngsettings set org.gnome.nautilus.desktop trash-icon-visible false &>/dev/null || :" >> /home/liveuser/.bashrc
|
- |
|
265 |
|
259 |
# don't start cron/at as they tend to spawn things which are
|
266 |
# don't start cron/at as they tend to spawn things which are
|
260 |
# disk intensive that are painful on a live image
|
267 |
# disk intensive that are painful on a live image
|
261 |
systemctl --no-reload disable crond.service 2> /dev/null || :
|
268 |
systemctl --no-reload disable crond.service 2> /dev/null || :
|
262 |
systemctl --no-reload disable atd.service 2> /dev/null || :
|
269 |
systemctl --no-reload disable atd.service 2> /dev/null || :
|
263 |
systemctl stop crond.service 2> /dev/null || :
|
270 |
systemctl stop crond.service 2> /dev/null || :
|
Line 265... |
Line 272... |
265 |
|
272 |
|
266 |
# disable kdump service
|
273 |
# disable kdump service
|
267 |
systemctl --no-reload disable kdump.service 2> /dev/null || :
|
274 |
systemctl --no-reload disable kdump.service 2> /dev/null || :
|
268 |
systemctl stop kdump.service 2> /dev/null || :
|
275 |
systemctl stop kdump.service 2> /dev/null || :
|
269 |
|
276 |
|
- |
|
277 |
# disable tuned.service
|
- |
|
278 |
systemctl --no-reload disable tuned.service 2> /dev/null || :
|
- |
|
279 |
systemctl stop tuned.service 2> /dev/null || :
|
- |
|
280 |
|
270 |
# Mark things as configured
|
281 |
# Mark things as configured
|
271 |
touch /.liveimg-configured
|
282 |
touch /.liveimg-configured
|
272 |
|
283 |
|
273 |
# add static hostname to work around xauth bug
|
284 |
# add static hostname to work around xauth bug
|
274 |
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
285 |
# https://bugzilla.redhat.com/show_bug.cgi?id=67rolling86
|
275 |
echo "localhost" > /etc/hostname
|
286 |
echo "localhost" > /etc/hostname
|
276 |
|
287 |
|
277 |
# Fixing the lang install issue when other lang than English is selected . See http://bugs.centos.org/view.php?id=7217
|
288 |
# Fixing the lang install issue when other lang than English is selected . See http://bugs.centos.org/view.php?id=7217
|
278 |
/usr/bin/cp /usr/lib/python2.7/site-packages/blivet/size.py /usr/lib/python2.7/site-packages/blivet/size.py.orig
|
289 |
/usr/bin/cp /usr/lib/python2.7/site-packages/blivet/size.py /usr/lib/python2.7/site-packages/blivet/size.py.orig
|
279 |
/usr/bin/sed -i "s#return self.humanReadable()#return self.humanReadable().encode('utf-8')#g" /usr/lib/python2.7/site-packages/blivet/size.py
|
290 |
/usr/bin/sed -i "s#return self.humanReadable()#return self.humanReadable().encode('utf-8')#g" /usr/lib/python2.7/site-packages/blivet/size.py
|