diff options
author | Your Name <you@example.com> | 2014-10-16 17:25:03 +0000 |
---|---|---|
committer | Your Name <you@example.com> | 2014-11-07 12:07:17 +0000 |
commit | 046dd1083f50757e0c9bb6571840d6fe97d4c3a1 (patch) | |
tree | 118433d9007273017b4cdf131f57fcb7ec9c367f | |
parent | 53d6debe875d6011e49cd9cbd1d4e46dd81c5d42 (diff) | |
download | morph-046dd1083f50757e0c9bb6571840d6fe97d4c3a1.tar.gz |
force mkfs.btrfs
-rw-r--r-- | morphlib/writeexts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/writeexts.py b/morphlib/writeexts.py index d8a6aeb4..eff13dde 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.''' |