~mwhudson/netplan:master

Last commit made on 2018-09-05
Get this branch:
git clone -b master https://git.launchpad.net/~mwhudson/netplan
Only Michael Hudson-Doyle can upload to this branch. If you are Michael Hudson-Doyle please log in for upload directions.

Branch information

Name:
master
Repository:
lp:~mwhudson/netplan

Recent commits

ad14292... by Mathieu Trudel-Lapierre on 2018-09-05

Update changelog for new bugfix release

269827f... by Mathieu Trudel-Lapierre on 2018-08-30

Fix typo in NM on-link route error check

8096e4b... by Daniel Axtens on 2018-08-28

NetworkManager: error on unrenderable route

NM cannot render anything other than to, via and metric.

If an attempt is made to specify any of these, throw an error.

Signed-off-by: Daniel Axtens <email address hidden>

1985d47... by Daniel Axtens on 2018-08-13

networkd: route source is PreferredSource= not From=

And it can only take an address, not an address + netmask.
We don't currently validate that but let's at least make the
tests and examples right.

Signed-off-by: Daniel Axtens <email address hidden>

78d75c8... by Daniel Axtens on 2018-08-13

Don't render dns-search for ipv4 when no addresses configured

LP: #1786726

In an IPv6 static setup with NetworkManager, such as the following:

    ens8:
      accept-ra: false
      addresses: ['23:b0:87:58:65:f7:fb:8b/45', '63:94:73:e1:46:15:79:58/50']
      nameservers:
        addresses: ['f2:9d:bc:04:7b:87:ec:28']
        search: [lab, home]
      renderer: NetworkManager

we see the following error in syslog:

NetworkManager[19666]: <warn> [1532665946.1502] keyfile: error loading connection from file /run/NetworkManager/system-connections/netplan-ens8: invalid connection: ipv4.dns-search: this property is not allowed for 'method=link-local'

netplan renders an ipv4 dns search property, even though there is no
configured ipv4 address. NetworkManager doesn't like this and it
prevents the connection from being configured.

Don't render ipv4 dns-search unless we have an ipv4 address.

Signed-off-by: Daniel Axtens <email address hidden>

d40cd2f... by Daniel Axtens on 2018-08-13

Route type is "prohibit", not "prohibited"

LP: #1783940

Signed-off-by: Daniel Axtens <email address hidden>

ecc04b1... by Daniel Axtens on 2018-07-20

Set permissive umask on networkd .network and .netdev files

LP: #1736965
LP: #1768560

Without this, a restrictive umask causes systemd-networkd to fail
with permission denied errors.

Signed-off-by: Daniel Axtens <email address hidden>

5017b88... by Mathieu Trudel-Lapierre on 2018-05-29

lint: fix invalid spacing

38b5e28... by Mathieu Trudel-Lapierre on 2018-05-29

tests: add error test for missing 'to' for a link scope route

b4f4c63... by Mathieu Trudel-Lapierre on 2018-05-29

Fix support for link-scope routes

Signed-off-by: Mathieu Trudel-Lapierre <email address hidden>