Merge "Add nm-dhcp-ib-interfaces element"
This commit is contained in:
commit
b8bda7455c
@ -0,0 +1,9 @@
|
|||||||
|
=====================
|
||||||
|
nm-dhcp-ib-interfaces
|
||||||
|
=====================
|
||||||
|
Add InfiniBand connection profile to run DHCP for InfiniBand interfaces
|
||||||
|
|
||||||
|
As it's not implemented yet to create default connection profiles for
|
||||||
|
InfiniBand interfaces in NetworkManager, we are providing a wildcard
|
||||||
|
InfiniBand connection profile to allow it to run DHCP for InfiniBand
|
||||||
|
interfaces.
|
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then
|
||||||
|
set -x
|
||||||
|
fi
|
||||||
|
set -eu
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
SCRIPTDIR=$(dirname $0)
|
||||||
|
|
||||||
|
# Because NetworkManager can't automatically create default connection
|
||||||
|
# profiles for InfiniBand interfaces, we are installing
|
||||||
|
# NetworkManager-system-connections-infiniband.nmconnection to
|
||||||
|
# NetworkManager to create a wildcard InfiniBand connection profile
|
||||||
|
install -D -g root -o root -m 0600 ${SCRIPTDIR}/NetworkManager-system-connections-infiniband.nmconnection /etc/NetworkManager/system-connections/infiniband.nmconnection
|
||||||
|
exit 0
|
@ -0,0 +1,17 @@
|
|||||||
|
[connection]
|
||||||
|
id=infiniband
|
||||||
|
type=infiniband
|
||||||
|
multi-connect=3
|
||||||
|
|
||||||
|
[infiniband]
|
||||||
|
transport-mode=datagram
|
||||||
|
|
||||||
|
[ipv4]
|
||||||
|
method=auto
|
||||||
|
|
||||||
|
[ipv6]
|
||||||
|
addr-gen-mode=default
|
||||||
|
method=auto
|
||||||
|
|
||||||
|
[proxy]
|
||||||
|
|
7
releasenotes/notes/bug-2016965-f3f35c919081f64c.yaml
Normal file
7
releasenotes/notes/bug-2016965-f3f35c919081f64c.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
As NetworkManager can't automatically create default connection profiles
|
||||||
|
for InfiniBand interfaces, we are adding nm-dhcp-ib-interfaces element
|
||||||
|
to install NetworkManager-system-connections-infiniband.nmconnection to
|
||||||
|
NetworkManager to create a wildcard InfiniBand connection profile.
|
Loading…
Reference in New Issue
Block a user