OVH KVM Server Setup

We need to mark out all OVH Repo before we start building KVM:

 

[root@asia ~]# cat /etc/yum.repos.d/CentOS-Base.repo  | grep baseurl
# remarked out baseurl= line instead.
baseurl=http://centos.mirrors.ovh.net/ftp.centos.org/$releasever/os/$basearch/
baseurl=http://centos.mirrors.ovh.net/ftp.centos.org/$releasever/updates/$basearch/
baseurl=http://centos.mirrors.ovh.net/ftp.centos.org/$releasever/extras/$basearch/
baseurl=http://centos.mirrors.ovh.net/ftp.centos.org/$releasever/centosplus/$basearch/

To resolve the issue I have commented on this link and enabled default mirror:

[root@asia ~]# cat  /etc/yum.repos.d/CentOS-Base.repo | grep mirror
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://centos.mirrors.ovh.net/ftp.centos.org/$releasever/os/$basearch/
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://centos.mirrors.ovh.net/ftp.centos.org/$releasever/updates/$basearch/
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
#baseurl=http://centos.mirrors.ovh.net/ftp.centos.org/$releasever/extras/$basearch/
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
#baseurl=http://centos.mirrors.ovh.net/ftp.centos.org/$releasever/centosplus/$basearch/


Mac id can be generated and found in ovh robot panel .You can give any machine name but mac type should be ovh.

If you want to add secondary ip’s or add on ip’s to the vps the make sure you assign the same mac id of primary ip of vps to the secondary ip.

Adding different mac id to secondary ip’s will not work on existing vps.

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Run OPTIMIZE TABLE to defragment tables for better performance

For this suggestion:Run OPTIMIZE TABLE to defragment tables for better performanceRun this...

How to clear Error Log of a cPanel Account.

User the below code to clear Error Log:Replace User with Username:Code:for i in `find...

What is php.ini ?

The php.ini file and changing PHP Settings The php.ini file is a special file for PHP and...

How to fix ini_set() has been disabled for security reasons

1. Create php.ini file inside your public_html folder, OR the folder in which you have...

How to fix Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone:

1: Create .htaccess file inside your public_html folder, OR the folder in which you have...