Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I write a file to a running virtual os? I'd like to write to the hosts file of the guest OS in order to set some aliases, is this possible?

Thanks

share|improve this question

Make targeted folder available several protocols:

  • samba
  • ftp
  • nfs
  • ssh
  • etc ...

as hosts file is in /etc (or not - you don't specify OS) I suggest SSH as most proper solution.

share|improve this answer

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.