mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-19 10:52:04 +00:00
1f38213d4b
Add --external-mode, --external-iface, --single-nic, --external-pool,
--external-gateway, --external-prefix-len flags to admin init. Config
is now generated with the correct [network] section and per-node vpcd
external_interface/single_nic — no manual spinifex.toml editing needed.
Single-node single-NIC:
spx admin init --external-mode=pool --external-iface=eth0 --single-nic \
--external-pool=192.168.1.150-192.168.1.250 --external-gateway=192.168.1.1
Single-node two-NIC:
spx admin init --external-mode=pool --external-iface=eth1 \
--external-pool=192.168.1.150-192.168.1.250 --external-gateway=192.168.1.1
Next steps output now shows the correct setup-ovn.sh command with
matching flags.