I am trying configure libvirtd for Xen default operation. I need to edit this file:
/etc/libvirt/libvirt.conf
I am new in ubuntu.
Thank u
I am trying configure libvirtd for Xen default operation. I need to edit this file:
/etc/libvirt/libvirt.conf
I am new in ubuntu.
Thank u
sudo vim /etc/libvirt/libvirt.conf
.i
to go into insert mode, and edit the configuration.ESC
and save the file by entering :wq
After saving the file, make sure to either restart libvirtd, or reboot your system.
I believe what you're looking to change is the line #uri_default = "qemu:///system"
. Uncomment that line first, then replace "qemu" by "xen" so that the whole line should read uri_default = "xen:///system"
.
Note: It is always a good idea to take backups of configuration files before editing. In this case, sudo cp /etc/libvirt/libvirt.conf /etc/libvirt/libvirt.conf.bkp
should do the trick, should you ever need to recover that file.
If you're new to Linux, here's a good tutorial on vim.