~lkundrak/network-manager/launchpad-stable-1.4

Viewing all changes in revision 10880.

  • Committer: Thomas Haller
  • Date: 2017-04-20 13:45:27 UTC
  • Revision ID: git-v1:f42a66a214aa09e758ee12f85de3d7f5c3692267
ifcfg: ensure ipv4.method is not "disabled" when reading IP addresses from alias files

When the main ifcfg file contains no IP addresses, the method
will be "disabled". Later, when reading IP addresses for the
aliases, we must ensure that the method is manual.

Otherwise, validation fails with

  ip.addresses: this property is not allowed for method=disabled

(cherry picked from commit a8f0d88596d8dd2b807a7b0adee272c4f077dade)
(cherry picked from commit be1daa4580267e448ad93b854da382026ea63281)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: