Tag Archives: system administration


New in libguestfs 1.0.72 will be a tool for editing files in a virtual machine.

There’s a million uses for this. Change grub configuration:

# virt-edit mydomain /boot/grub/grub.conf

Edit the message of the day:

# virt-edit mydomain /etc/motd

Change a configuration file:

# virt-edit mydomain /etc/fstab

You get the idea …

For more complex changes, or to edit multiple files, use the libguestfs API or guestfish, but I hope this solves some of the simpler sysadmin tasks.



Filed under Uncategorized