Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3777513
D2570.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2570.diff
View Options
diff --git a/roles/core/network/files/FreeBSD/netif_ipv4.rc b/roles/core/network/files/FreeBSD/netif_ipv4.rc
--- a/roles/core/network/files/FreeBSD/netif_ipv4.rc
+++ b/roles/core/network/files/FreeBSD/netif_ipv4.rc
@@ -13,11 +13,7 @@
# and will be lost if the state is redeployed.
# </auto-generated>
-{% if dhcp_required %}
-ifconfig_{{ interface }}="DHCP"
-{%- else -%}
ifconfig_{{ interface }}="inet {{ ipv4_address }} netmask {{ ipv4_netmask }}"
-{% endif -%}
{%- for ip in ipv4_aliases %}
ifconfig_{{ interface }}_alias{{ loop.index0 }}="inet {{ ip }} netmask 255.255.255.255"
{% endfor -%}
diff --git a/roles/core/network/ipv4.sls b/roles/core/network/ipv4.sls
--- a/roles/core/network/ipv4.sls
+++ b/roles/core/network/ipv4.sls
@@ -23,7 +23,6 @@
ipv4_address: {{ network['ipv4_address'] }}
ipv4_netmask: {{ network['ipv4_netmask'] | default('255.255.255.0') }}
ipv4_aliases: {{ salt['node.get_list']('network:ipv4_aliases') }}
- dhcp_required: {{ salt['node.has']('network:dhcp_required') }}
{% endif %}
# -------------------------------------------------------------
diff --git a/roles/core/network/private.sls b/roles/core/network/private.sls
--- a/roles/core/network/private.sls
+++ b/roles/core/network/private.sls
@@ -26,7 +26,6 @@
ipv4_address: {{ interface['address'] }}
ipv4_netmask: {{ interface['netmask'] | default('255.255.255.0') }}
ipv4_aliases: {{ salt['node.get_list']('network:private_interface:aliases') }}
- dhcp_required: False
{% endif %}
{% if grains['os_family'] == 'RedHat' %}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 01:41 (14 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2263689
Default Alt Text
D2570.diff (1 KB)
Attached To
Mode
D2570: Drop DHCP support for FreeBSD network cards
Attached
Detach File
Event Timeline
Log In to Comment