mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-21 21:25:26 +00:00
Disable automount on KDE live images (#2073708)
It's mounting non-removable devices and causing problems for anaconda. Note, KDE will still show a notification with a button for mounting the device, and it shows in the file manager where clicking on it mounts it; the behaviour is about the same as Fedora 35 (slightly better, as the notification shows on subsequent plugs of the same stick, which it did not in F35). Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
f1ae8a5722
commit
34faea4b50
@ -85,6 +85,15 @@ cat > /home/liveuser/.config/kwalletrc << KWALLET_EOL
|
||||
alreadyMigrated=true
|
||||
KWALLET_EOL
|
||||
|
||||
# Disable automount of 'known' devices
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2073708
|
||||
cat > /home/liveuser/.config/kded_device_automounterrc << AUTOMOUNTER_EOF
|
||||
[General]
|
||||
AutomountEnabled=false
|
||||
AutomountOnLogin=false
|
||||
AutomountOnPlugin=false
|
||||
AUTOMOUNTER_EOF
|
||||
|
||||
# make sure to set the right permissions and selinux contexts
|
||||
chown -R liveuser:liveuser /home/liveuser/
|
||||
restorecon -R /home/liveuser/
|
||||
|
Loading…
Reference in New Issue
Block a user