1

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.

1 Answer 1

0

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?

3
  • 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. Jan 16, 2013 at 14:46
  • 2
    @MarwanAlsabbagh Solving the actual problem is preferable to creating weird hacks like this. Jan 16, 2013 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. Jan 17, 2013 at 7:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .