OS installation on an OVH KS-5 using FreeBSD 13.1 via BYOI

OVH hosting offer is very interesting both in terms of price and capabilities. You can choose and select according price, CPU brand, number of core, memory size, disk size, geographical location. Make you choice … They even have a “eco” offer with lower prices, the “Kimsufi” offer start with a 5€ / month price.

OVH does not provide FreeBSD as a base OS for they bare metal cloud. Fortunately they provide a option “Install custom image”. I did not find a usefull documentation to prepare a custom image.This blog post explain the main steps for a FreeBSD installation on this OVH offer.

The preparation steps to create a disk image :

% cat /etc/rc.conf
# FreeBSD minimal configuration /etc/rc.conf
hostname="YourHostName.YourDomain"
ifconfig_DEFAULT="DHCP inet6 accept_rtadv"
keymap="fr" # for french people, adapt for your country
growfs_enable="YES"
sshd_enable="YES"

% cat /boot/loader.conf
autoboot_delay="1"

The main steps areCreate a user / password. Change the root passwd