56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
# Example: Static network configuration
|
|
#
|
|
# IncusOS defaults to DHCP/SLAAC when no network seed is provided.
|
|
# Use this template for static IP configuration.
|
|
#
|
|
# This file goes into the seed archive as "network.yaml"
|
|
|
|
dns:
|
|
hostname: "incus-01"
|
|
domain: "lab.local"
|
|
nameservers:
|
|
- "192.168.1.1"
|
|
- "1.1.1.1"
|
|
search_domains:
|
|
- "lab.local"
|
|
|
|
time:
|
|
ntp_servers:
|
|
- "pool.ntp.org"
|
|
timezone: "America/New_York"
|
|
|
|
interfaces:
|
|
- name: "mgmt"
|
|
hwaddr: "ens18" # interface name or MAC (ens18 = Proxmox VirtIO)
|
|
addresses:
|
|
- "192.168.1.100/24"
|
|
roles:
|
|
- management
|
|
- cluster
|
|
mtu: 1500
|
|
routes:
|
|
- to: "0.0.0.0/0"
|
|
via: "192.168.1.1"
|
|
|
|
# --- Bonding example (uncomment to use) ---
|
|
# bonds:
|
|
# - name: "bond0"
|
|
# members:
|
|
# - "enp5s0"
|
|
# - "enp6s0"
|
|
# mode: "802.3ad"
|
|
# addresses:
|
|
# - "dhcp4"
|
|
# roles:
|
|
# - management
|
|
|
|
# --- VLAN example (uncomment to use) ---
|
|
# vlans:
|
|
# - name: "vlan100"
|
|
# parent: "enp5s0"
|
|
# id: 100
|
|
# addresses:
|
|
# - "10.100.0.10/24"
|
|
# roles:
|
|
# - instances
|