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

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?


share|improve this question

1 Answer 1

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


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.