summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Parted.hs
diff options
context:
space:
mode:
authorJoey Hess2015-10-23 01:27:51 -0400
committerJoey Hess2015-10-23 01:27:51 -0400
commiteca865628c2cae8996854d596dfee0dea4ef17c2 (patch)
treed30425bf0630173bc17be40c5ca8283b2a3897f6 /src/Propellor/Property/Parted.hs
parentbf25cb287bcec0b85f64c90a88a4556291efe74a (diff)
parent1a55d09b5452f07508d4624b632e9a54782dbee8 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Property/Parted.hs')
-rw-r--r--src/Propellor/Property/Parted.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Parted.hs b/src/Propellor/Property/Parted.hs
index 7bd38a65..834b6c7d 100644
--- a/src/Propellor/Property/Parted.hs
+++ b/src/Propellor/Property/Parted.hs
@@ -160,7 +160,7 @@ partitioned eep disk (PartTable tabletype parts) = property desc $ do
[ parted eep disk partedparams
, if isdev
then formatl (map (\n -> disk ++ show n) [1 :: Int ..])
- else Partition.kpartx disk formatl
+ else Partition.kpartx disk (formatl . map Partition.partitionLoopDev)
]
where
desc = disk ++ " partitioned"