Page MenuHomeDevCentral

netif_ipv4.rc
No OneTemporary

netif_ipv4.rc

# -------------------------------------------------------------
# Network — rc configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/core/network/files/FreeBSD/netif_ipv4.rc
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# 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 %}

File Metadata

Mime Type
text/plain
Expires
Tue, May 13, 16:44 (13 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2650735
Default Alt Text
netif_ipv4.rc (896 B)

Event Timeline