Merge pull request #6051 from illenseer/devel
Fix zfs create command for properties with spaces
This commit is contained in:
commit
de6bc2f83b
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ class Zfs(object):
|
|||
cmd.append('-b %s' % volblocksize)
|
||||
if properties:
|
||||
for prop, value in properties.iteritems():
|
||||
cmd.append('-o %s=%s' % (prop, value))
|
||||
cmd.append('-o %s="%s"' % (prop, value))
|
||||
if volsize:
|
||||
cmd.append('-V')
|
||||
cmd.append(volsize)
|
||||
|
|
Loading…
Reference in a new issue