On Thu, Feb 14, 2013 at 09:11:41PM +0530, Sandeep Raman wrote:
> Hello,
>
> I get the following message on virt-edit Guestname /boot/grub/grub.conf.
> I have executed the command.
> guestmount –ro -a /var/lib/nova/instances/instance-00000001/disk -m
> /dev/sda1 /mnt
> guestmount -d instance-00000001 -i –ro /mnt
>
> root@compute:~# virt-edit instance-00000001 /boot/grub/grub.conf
> libguestfs: error: error: domain is a live virtual machine.
> Writing to the disks of a running virtual machine can cause disk corruption.
> Either use read-only access, or if the guest is running the guestfsd daemon
> specify live access. In most libguestfs tools these options are –ro or
> –live respectively. Consult the documentation for further information.
> root@compute:~#
>
> Please help how to get past this.
As the error says, this can't be done. You can't use virt-edit on