Rackspace – Unable to Access Newly Created CentOS 7 Instance

If you create a virtual machine using the CentOS 7 image, you will initially be able to log in but if you perform a system update and then reboot, you may well find you are no longer able to access. This would appear to bug with their CentOS 7 images. One they don’t seem willing to correct.

This issue appears to be that it loses its networking upon restart and so becomes inaccessible. If this happens to you, log into your server from the rescue console within the Rackspace customer portal. Once there, run the below command and reboot. Your device should now be accessible again.

[root@centos7 ~]# echo -e 'network:\n config: disabled' >> /etc/cloud/cloud.cfg.d/10_rackspace.cfg

In fact, whenever I need a CentOS 7 instance, the first thing I do run the below one-liner:

[root@centos7 ~]# yum update -y && echo -e 'network:\n config: disabled' >> /etc/cloud/cloud.cfg.d/10_rackspace.cfg && reboot

Be the first to comment

Leave a Reply