summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2014-10-16 17:25:03 +0000
committerYour Name <you@example.com>2014-10-16 17:25:03 +0000
commit3cac80c8b9b0458f21d93909e4a00c9b8b328a69 (patch)
tree4f22c4603c17cf0e5a53e516707fcb7d8c7d6127
parentd03f454e7e39ac897754acb264f64e39143cc6d8 (diff)
downloadmorph-3cac80c8b9b0458f21d93909e4a00c9b8b328a69.tar.gz
force mkfs.btrfs
-rw-r--r--morphlib/writeexts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/writeexts.py b/morphlib/writeexts.py
index 9a6b6a28..a320c3d8 100644
--- a/morphlib/writeexts.py
+++ b/morphlib/writeexts.py
@@ -224,7 +224,7 @@ class WriteExtension(cliapp.Application):
def mkfs_btrfs(self, location):
'''Create a btrfs filesystem on the disk.'''
self.status(msg='Creating btrfs filesystem in %s' % location)
- cliapp.runcmd(['mkfs.btrfs', '-L', 'baserock', location])
+ cliapp.runcmd(['mkfs.btrfs', '-f', '-L', 'baserock', location])
def get_uuid(self, location):
'''Get the UUID of a block device's file system.'''