Commit dc3ca7b3 by Michael DeHaan

Merge pull request #6051 from illenseer/devel

Fix zfs create command for properties with spaces
parents 470e53ca 85800498
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment