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.

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
add comment

1 Answer

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
add comment

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.