Skip to content
Snippets Groups Projects
Commit 7e8abee0 authored by Thibault VINCENT's avatar Thibault VINCENT
Browse files

fix: compatibility with Debian Lenny lvm utils

parent 03874845
No related branches found
No related tags found
No related merge requests found
...@@ -296,7 +296,7 @@ class LVM(object): ...@@ -296,7 +296,7 @@ class LVM(object):
''' '''
# execute create command # execute create command
if Exec.silent([LVM.LVCREATE, if Exec.silent([LVM.LVCREATE,
'-L', '%iB' % size, '-L', '%iK' % (int(size)/1024),
'-n', name, '-n', name,
self.name]) != 0: self.name]) != 0:
raise LVMError('error creating LV') raise LVMError('error creating LV')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment