Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hopefully someone here can help me out with this tough problem, or at least point me in the right direction.
I am using the Microsoft Azure Platform with their custom OpenLogic CentOS distro. (Please no flames, MS make terrible operating systems, but their cloud platform is actually quite good!) However I would like to run vanilla CentOS 7 rather than the MS distro. I am having trouble devising a way to load this OS onto a VM.
For those not familiar with the service, the standard method is to connect to a VM using SSH or RSH or similar if you were to set them up. The nodes have no graphics cards, so all interaction is done through shell.
My first (and simplest) option was to do a standard pre-upgrade/upgrade. Pre-upgrade recognised that the OS was running under HyperV, and unfortunately gave the feedback that this would be EXTREMELY risky. I am tempted to give it a go on a cloned VM to see what happens, but I am sure there is a legitimate reason that it should not be done, and I would prefer not to risk the stability of the system in the future.
My second option was to download the live image, mount it, extract the squashfs.img from the LiveOS and insert an init script to install and start and run sshd as well as added an extra user to passwd/shadow/group so that I could login with a predetermined password. This method was unsuccessful as the boot disk I created with the liveOS did not boot.
My third option is to run a VM inside the Azure VM (VM inception!) that is attached to another disk, and then boot the VM with the LiveOS iso. After it is booted, I should be able to install onto the mounted HDD as standard. Problem with this method is that I will have to VNC forward the guest of the guest VM to my local machine, as there is no way (that I know) for the host to interact with the guest.
Surely people have come across this issue before, where an OS must be installed on a headless node. I hope someone out there could please shed some light on this (I will be very grateful).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.