From f994c60d7282fb782ecc94cd9370953944c25f3b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 Aug 2018 01:51:45 -0400 Subject: propellor spin --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Propellor') diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 1dc14275..e2acae33 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -1242,7 +1242,9 @@ autoMountDrive label (USBHubPort port) malias = propertyList desc $ props , "Requires=" ++ hub , "After=" ++ hub , "[Mount]" - , "Type=auto" + -- avoid mounting whenever the block device is available, + -- only want to automount on deman + , "Options=noauto" , "What=/dev/disk/by-label/" ++ label , "Where=" ++ mountpoint , "[Install]" -- cgit v1.2.3