Files
vpsmgr/scripts
bluebluesodaandCommandCodeBot 5e87c9bed7 fix(ipv6): plumb none mode + extra prefix through host, boot and creates
- RewireAllIPv6() began with `if !IPv6Enabled() { return nil }`, so in none
  mode — the mode that carries an extra prefix — it did nothing at all: the
  boot unit and `vps ipv6-reapply` never set net.ipv6.conf.all.forwarding,
  all.proxy_ndp or <ext_if>.proxy_ndp, and without them Incus could not install
  the routed NIC's proxy_ndp entry, so every create failed
- give that branch its plumbing: forwarding, kernel proxy_ndp, the NDP rules
  and the whole-/64 routes
- ensure forwarding + proxy_ndp at create time, before the routed NIC exists,
  so a create no longer depends on a prior install / ipv6-reapply
- a clone or launch failure now calls cleanup() and removes the partial
  instance; the leftover used to hold the name, so every retry was refused with
  "already exists (orphan?)"
- the installer persists the name-free sysctls (all.proxy_ndp always,
  all.forwarding when vpsmgr relays container v6) and uninstall resets
  all.proxy_ndp again

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-09-27 14:47:16 +00:00
..