Fix network-manager helper for aramo release.
This commit is contained in:
parent
c112a0d0c5
commit
6ce0f72002
1 changed files with 6 additions and 6 deletions
|
|
@ -23,12 +23,12 @@ COMPONENT=main
|
|||
. ./config
|
||||
|
||||
# Do not send hostname to dhcp servers by default
|
||||
sed 's/send host-name/#send host-name/' -i src/dhcp/nm-dhcp-dhclient-utils.c src/dhcp/tests/test-dhcp-dhclient.c
|
||||
sed 's/send fqdn/#send fqdn/' -i src/dhcp/nm-dhcp-dhclient-utils.c src/dhcp/tests/test-dhcp-dhclient.c
|
||||
sed '/send host-name/s|added by NetworkManager|Enable at /etc/dhcp/dhclient.conf|' -i src/dhcp/tests/test-dhcp-dhclient.c
|
||||
sed '/send fqdn/s|added by NetworkManager|Enable at /etc/dhcp/dhclient.conf|' -i src/dhcp/tests/test-dhcp-dhclient.c
|
||||
sed '/HOSTNAME4_TAG/s|added by NetworkManager|Enable at /etc/dhcp/dhclient.conf|' -i src/dhcp/nm-dhcp-dhclient-utils.c
|
||||
sed '/FQDN_TAG/s|added by NetworkManager|Enable at /etc/dhcp/dhclient.conf|' -i src/dhcp/nm-dhcp-dhclient-utils.c
|
||||
sed 's/send host-name/#send host-name/' -i src/core/dhcp/nm-dhcp-dhclient-utils.c src/core/dhcp/tests/test-dhcp-dhclient.c
|
||||
sed 's/send fqdn/#send fqdn/' -i src/core/dhcp/nm-dhcp-dhclient-utils.c src/core/dhcp/tests/test-dhcp-dhclient.c
|
||||
sed '/send host-name/s|added by NetworkManager|Enable at /etc/dhcp/dhclient.conf|' -i src/core/dhcp/tests/test-dhcp-dhclient.c
|
||||
sed '/send fqdn/s|added by NetworkManager|Enable at /etc/dhcp/dhclient.conf|' -i src/core/dhcp/tests/test-dhcp-dhclient.c
|
||||
sed '/HOSTNAME4_TAG/s|added by NetworkManager|Enable at /etc/dhcp/dhclient.conf|' -i src/core/dhcp/nm-dhcp-dhclient-utils.c
|
||||
sed '/FQDN_TAG/s|added by NetworkManager|Enable at /etc/dhcp/dhclient.conf|' -i src/core/dhcp/nm-dhcp-dhclient-utils.c
|
||||
|
||||
changelog "Do not send hostname on dhcp, plus other features"
|
||||
compile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue