diskimage-builder/elements/dhcp-all-interfaces/install.d
Ben Nemec d20754f6ed Use %i instead of %I in dhcp-interface@.service
Per the bug report, %I results in -'s in the interface name being
replaced with /'s, which means when we try to look up the interface
by path in dhcp-all-interfaces.sh we end up at an invalid path.
Using %i instead should fix the problem.

See https://www.freedesktop.org/software/systemd/man/systemd.unit.html

Essentially what is happening is that we start with a name like
br-ex that wasn't escaped in the first place.  However, because of
the - it looks like it could have been escaped to systemd.  When
we use %I, which tries to unescape escaped values, it unescapes a
value that was already not escaped.

Change-Id: I434ed2e084d4477dc7a2b7827164586f8ea0c1e3
Closes-Bug: 1649409
2017-01-17 17:24:07 -06:00
..
50-dhcp-all-interfaces Make DHCP timeout configurable 2017-01-04 15:41:04 -06:00
60-remove-cloud-image-interfaces Merge "Add Gentoo to the dhcp-all-interfaces element" 2016-04-21 23:03:24 +00:00
dhcp-all-interfaces-udev.rules don't configure 'lo' for dhcp 2016-09-09 09:01:59 +00:00
dhcp-all-interfaces.conf Fix dhcp-all-interfaces upstart job 2014-04-02 09:14:03 +13:00
dhcp-all-interfaces.init dhcp-all-interfaces: support Centos/RHEL 6 2016-11-02 11:13:58 +00:00
dhcp-all-interfaces.sh Handle failure of carrier check in dhcp-all-interfaces.sh 2017-01-12 10:36:43 -05:00
dhcp-interface@.service Use %i instead of %I in dhcp-interface@.service 2017-01-17 17:24:07 -06:00