Fix share aliases logic (#2862) (#2875)

Fixes #2862
reviewable/pr18780/r1
johanwiren 8 years ago committed by René Moser
parent 9a338b05eb
commit b88fdde22c

@ -198,6 +198,7 @@ class Zfs(object):
if source == 'local':
properties[prop] = value
# Add alias for enhanced sharing properties
if self.enhanced_sharing:
properties['sharenfs'] = properties.get('share.nfs', None)
properties['sharesmb'] = properties.get('share.smb', None)
return properties

Loading…
Cancel
Save