LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This 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


Reply
  Search this Thread
Old 09-08-2014, 11:32 AM   #1
stuart23
LQ Newbie
 
Registered: May 2012
Location: Melbourne, Australia
Distribution: CentOS 6.2, Fedora Lovelock
Posts: 9

Rep: Reputation: Disabled
Installing Centos 7 via ssh only (cloud service)


Hello Forum Members,

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).

Thank you,

Stuart
 
Old 09-10-2014, 08:21 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Hope this helps
http://blogs.technet.com/b/dcaro/arc...oft-azure.aspx
 
Old 09-10-2014, 08:26 AM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
http://azure.microsoft.com/en-us/doc...inux-tutorial/
 
  


Reply

Tags
centos, headless, install, ssh



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cloud 5: Has cloud killed on-prem software, the enterprise cloud wars, and cloud computing and LXer Syndicated Linux News 0 08-22-2014 11:40 AM
LXer: Cloud 5: Dispelling cloud myths, the cloud security excuse, and the fight for cloud supremacy LXer Syndicated Linux News 0 06-20-2014 04:12 PM
LXer: Cloud 5: NSA not killing cloud, cloud IT jobs, rise of cloud brokers LXer Syndicated Linux News 0 03-02-2014 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration