NetworkManager/dispatcher
Francesco Giudici b3a5541111 dispatcher: add MS Azure endpoint env var expected by cloud-init
Some linux distros (e.g., RHEL, CentOS and Fedora) ship a dispatcher
script with their dhclient package in order to run user dhclient hook
scripts also when connections are run by NetworkManager.
The scripts convert the var names in the environment to the ones
expected in the dhclient hook scripts.
This feature is currently use by cloud-init to retrieve the MS Azure
server endpoint address, which is sent in the private dhcp option 245.
We just redefined the default dhclient var names for the private options
from "unknown_xyz" to "private_xyz". In order to let current cloud-init
version to be able to retrieve the Azure server endpoint address, add
the legacy var name "unknown_245" to the dispatcher script environment.
2019-07-05 15:17:04 +02:00
..
tests all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
meson.build build: don't link dispatcher with generated nmdbus-dispatcher bindings 2019-05-27 12:39:25 +02:00
nm-dispatcher-utils.c dispatcher: add MS Azure endpoint env var expected by cloud-init 2019-07-05 15:17:04 +02:00
nm-dispatcher-utils.h all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-dispatcher.c all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-dispatcher.conf callouts/dispatcher: rename directory callouts 2016-10-13 21:33:33 +02:00
nm-dispatcher.xml callouts/dispatcher: rename directory callouts 2016-10-13 21:33:33 +02:00
org.freedesktop.nm_dispatcher.service.in callouts/dispatcher: rename directory callouts 2016-10-13 21:33:33 +02:00