Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Virtualbox has a nice feature called Guest control which through guest additions allows the host to execute commands inside a running guest. This can be useful in many ways such as automating deployment of software in the guest. Is there a way in KVM to execute commands in a running guest from the host system. I'm just interested in Linux hosts and guests.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

No, kvm doesn't provide anything like that. But that's not really part of kvm's purpose. Any reason why you can't use ordinary methods for executing commands/deploying software on the guest such as ssh or even one of the configuration management systems like puppet/chef/whatever?

share|improve this answer
    
I'm facing a time shift issue with my KVM guests serverfault.com/questions/469598/…. I wanted to use a feature like this to do a work around to correct the time on the guest machines. So my need can't really be met with configuration management. I will probably use ssh in the end, but I wanted to see if there was a way to do it without having to install ssh keys on all the guests far all the hosts. As this is an issue I'm facing on all my hosts and all their guests. –  Marwan Alsabbagh Jan 16 '13 at 14:46
2  
@MarwanAlsabbagh Solving the actual problem is preferable to creating weird hacks like this. –  Michael Hampton Jan 16 '13 at 15:24
    
@MichaelHampton I completely agree. Thank you for answering that question I won't have to resort to any weird hacks after all. –  Marwan Alsabbagh Jan 17 '13 at 7:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.