ifcfg-rh: support serializaing all possible values for ethernet.s390-options (OPTIONS)

System Internals / NetworkManager - Thomas Haller [redhat.com] - 25 April 2019 07:26 EDT

While the keys of s390-options are from a well-behaving set of names (that is enforced by nm_connection_verify()), the values are arbitrary strings.

Our settings plugin must be able to express all values of a connection, hence we need to support escapes.

df769c8df ifcfg-rh: support serializaing all possible values for ethernet.s390-options (OPTIONS)
src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.c | 2 +-
src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-writer.c | 10 +++++++++-
2 files changed, 10 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share