diff --git a/actions/image_partition_action.go b/actions/image_partition_action.go index ea3d621..e2a81ff 100644 --- a/actions/image_partition_action.go +++ b/actions/image_partition_action.go @@ -782,6 +782,10 @@ func (i *ImagePartitionAction) Verify(context *debos.DebosContext) error { if m.part == nil { return fmt.Errorf("Couldn't find partition for %s", m.Mountpoint) } + + if strings.ToLower(m.part.FS) == "none" { + return fmt.Errorf("Cannot mount %s: filesystem not present", m.Mountpoint) + } } // Calculate the size based on the unit (binary or decimal)