CHR on OVH VPS SSD

… admittedly I can’t remember if I followed those particular instructions, but I did successfully deploy on the lowest-end OVH VPS (value-1-2-40) about a year ago.

basically:

  1. order a VPS, I went for debian as that’s my usual, wait for it to be provisioned
  2. if you care for ipv6, note it down because ovh’s issuing them as static config to the predeployed linux via the cloud-init tooling (ipv4 is dhcp)
  3. boot to rescue mode, open the kvm web console
  4. /dev/sda should be the rescueOS-disk, /dev/sdb should be your VPS persistent disk, check with cfdisk for example
  5. just in case, zeroize: dd if=/dev/zero of=/dev/sdb
  6. wget the CHR image to /tmp, unpack, dd over
  7. just in case, sync
  8. exit rescue mode using the control panel (don’t just reboot the rescue OS from console)
  9. CHR should boot, automatically resize to take advantage of the full size of your VPS disk, then reboot again
  10. turbo log in and set a password before the first botnet scanner finds telnet + ssh naked open and moves in

I successfully got one running on Linode as well, the trick over there is that the default boot config assumes disk images are raw filesystems while kernel is fed from host.
So you need “Select Kernel: Direct Disk” and disable all of the “boot helpers” at far bottom of the VPS bootconfig page.
On the upside, you can make the first boot with ethernet “unplugged” to not worry about racing the bots for first login.