diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-04-18 08:49:46 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-04-19 05:19:30 -0400 |
commit | 426eccee63fc7add4b37a9c246cf83b08379cb62 (patch) | |
tree | c28ece34d0b01c4f85aebc7cab63c1a21a7e9472 /libpod/define/config.go | |
parent | e4e42b28dfef0ffd12f2087048dec61f9cb03976 (diff) | |
download | podman-426eccee63fc7add4b37a9c246cf83b08379cb62.tar.gz podman-426eccee63fc7add4b37a9c246cf83b08379cb62.tar.bz2 podman-426eccee63fc7add4b37a9c246cf83b08379cb62.zip |
Cleanup network option parsing
We were not handling the parsing of --ip. This pr adds validation
checks and now will support the flag.
Move validation to the actual parsing of the network flags.
We should only parse the dns flags if the user changed them. We don't
want to pass default options if set in containers.conf to the server.
Potential for duplicating defaults.
Add support for --dns-opt flag passing
Begin handling of --network flag, although we don't have a way right now
to translate a string into a specgen.Namespace.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/define/config.go')
0 files changed, 0 insertions, 0 deletions