Felix Hanley

FreeBSD on OVH cloud

2026-06-18 freebsd ovh ipv6

OVH uses nuageinit (cloud-init like) to set things up. It does not do everything.

First remove all the nuageinit left-overs:

rm /etc/rc.conf.d/network
rm /etc/rc.conf.d/routing
rm /etc/rc.conf.d/hostname
rm -r /var/cache/nuageinit

Disable init stuff in /etc/rc.conf (or just remove lines):

#firstboot_freebsd_update_enable="NO"
#firstboot_pkgs_enable="NO"
#nuageinit_enable=YES

IPV4 configuration

Add the following to /etc/rc.conf:

ifconfig_vtnet0="DHCP"

IPv6 configuration

Add the following to /etc/rc.conf:

ifconfig_vtnet0_ipv6="inet6 <ipv6 from console> prefixlen 64"
ipv6_defaultrouter="<ipv6 gw from console>"
ipv6_static_routes="gw"
ipv6_route_gw="<ipv6 gw from console> -prefixlen 128 -interface vtnet0"