mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Fix ipv6=false issue (#250)
Pass boolean to ipv6 option in command line.
This commit is contained in:
parent
ecc02870df
commit
95a402b869
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ class PodmanNetworkModuleParams:
|
||||||
return c + ['--ip-range', self.params['ip_range']]
|
return c + ['--ip-range', self.params['ip_range']]
|
||||||
|
|
||||||
def addparam_ipv6(self, c):
|
def addparam_ipv6(self, c):
|
||||||
return c + ['--ipv6']
|
return c + ['--ipv6=%s' % self.params['ipv6']]
|
||||||
|
|
||||||
def addparam_macvlan(self, c):
|
def addparam_macvlan(self, c):
|
||||||
return c + ['--macvlan', self.params['macvlan']]
|
return c + ['--macvlan', self.params['macvlan']]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue