mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
This commit is contained in:
@@ -744,6 +744,10 @@ class TaskParameters(DockerBaseClass):
|
|||||||
if network.get('links'):
|
if network.get('links'):
|
||||||
network['links'] = self._parse_links(network['links'])
|
network['links'] = self._parse_links(network['links'])
|
||||||
|
|
||||||
|
if self.mac_address:
|
||||||
|
# Ensure the MAC address uses colons instead of hyphens for later comparison
|
||||||
|
self.mac_address = self.mac_address.replace('-', ':')
|
||||||
|
|
||||||
if self.entrypoint:
|
if self.entrypoint:
|
||||||
# convert from list to str.
|
# convert from list to str.
|
||||||
self.entrypoint = ' '.join([str(x) for x in self.entrypoint])
|
self.entrypoint = ' '.join([str(x) for x in self.entrypoint])
|
||||||
|
|||||||
Reference in New Issue
Block a user