Fix bug in setting dns servers

We are adding the full list of ips in each entry, instead
of adding the item of the iteration.

Change-Id: Ib09abad83669b93f1bb9116686451e47280bd108
Fixes-Bug: #1719864
(cherry picked from commit 71a794949a)
This commit is contained in:
Yolanda Robla 2017-09-28 13:14:05 +02:00 committed by Mark Goddard
parent 3cef59a0c5
commit 3ab2358a35
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ def main():
for item in module.params['ipv4_nameserver']:
services.append({
'type': 'dns',
'address': module.params['ipv4_nameserver']
'address': item
})
network_metadata = {