summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorJoey Hess2018-08-20 01:51:45 -0400
committerJoey Hess2018-08-20 01:51:45 -0400
commitf994c60d7282fb782ecc94cd9370953944c25f3b (patch)
tree8d2a7af3fd510c222dfa00b02c849e496d608050 /src/Propellor
parent23d8b7de4618ab6436fff6a8ddd5e42335d26a1e (diff)
propellor spin
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs4
1 files changed, 3 insertions, 1 deletions
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]"