mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-20 17:59:00 +00:00
Fix exception when dns is present
ifcfg_create expects list of dns addresses to be non plain values, while dns validator returns only a string. https://github.com/linux-system-roles/network/pull/20
This commit is contained in:
parent
f28b24ac05
commit
9b8a46e3e3
1 changed files with 1 additions and 1 deletions
|
|
@ -634,7 +634,7 @@ class ArgValidator_DictIP(ArgValidatorDict):
|
|||
default_value = list,
|
||||
),
|
||||
ArgValidatorList('dns',
|
||||
nested = ArgValidatorIP('dns[?]'),
|
||||
nested = ArgValidatorIP('dns[?]', plain_address=False),
|
||||
default_value = list,
|
||||
),
|
||||
ArgValidatorList('dns_search',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue