OVH - Install custom ISO on public cloud server Jul 13, 2017

OVH

OVH public cloud does not support custom ISO installation yet, if you want to use custom ISO, just follow this guide.

1. Reboot into rescue mode, then ssh to your server and download the iso, I'm using 64-bit CentOS minimal image here

wget -P /tmp http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-Minimal.iso

2. Install a QEMU/KVM

wget -qO- /tmp http://cdn.trick77.com/vkvm-latest.tar.gz | tar xvz -C /tmp

3. Run QEMU

/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443 -m 1024M -localtime -enable-kvm -hda /dev/sda -hdb /dev/sdb -vnc 127.0.0.1:0 -cdrom /tmp/CentOS-7-x86_64-Minimal.iso -boot d

4. SSH to your remote server from your local computer

ssh root@your-server-ip -L 5900:localhost:5900

5. Open VNC client and connect to this address: localhost:5900 (you can download VNC Client @ https://www.realvnc.com/en/download/vnc/

6. Begin the custom ISO installation, note that you must install the OS to /sdb, not sda

7. After finish installing, exit rescue mod and reboot the cloud server normaly, you may need to re-config your server network (see https://www.ovh.co.uk/g2365.vps-ipv6)

Advertisement

Latest Updates