Displaying 4 results from an estimated 4 matches for "mercian".
2015 Jun 04
2
LXCs using Libvirt
Hi all,
I am trying to bring up lxc's using Libvirt JAVA API. I do the following:
conn = Connect("lxc:\\\")
xml_config = "<domain> .... <\domain>"
dom = conn.domainCreateXML(xml_config, 0)
dom.create()
Using the above code, I am able to start a domain but the domain is not
visible within the "lxc" list, i.e
when I use the command "lxc-ls
2015 Jun 05
0
Re: LXCs using Libvirt
On Thu, Jun 04, 2015 at 16:22:43 -0700, Anu Mercian wrote:
> Hi all,
>
> I am trying to bring up lxc's using Libvirt JAVA API. I do the following:
>
> conn = Connect("lxc:\\\")
>
> xml_config = "<domain> .... <\domain>"
>
> dom = conn.domainCreateXML(xml_config, 0)
>
> dom.cre...
2015 Jun 12
1
Libvirt LXC hostname
Hello,
I am trying to bring up an lxc with Centos 6.6 using libvirt command:
"virsh -c lxc:/// create vm.xml"
When I do the above, the new VM created gets the hostname of the host where
libvirt is installed. When I looked up help on the past mail-lists. It
seems like this was a problem back in 2013 and it was mentioned that host
name cannot be provided. I was wondering if this has
2015 Jun 10
0
SSH into LXC and install files via JAVA API
Hello everyone,
I am trying to use libvirt's JAVA API to ssh into a domain and install some
files, for example, dhcpd. Using virsh, its pretty straight forward using
the command line:
virsh -c lxc:/// create myguest.xml
virsh -c lxc:/// console myguest
virsh -c lxc:/// lxc-enter-namespace myguest -- sudo yum install dhcpd
But in order to incorporate the above functionality in a JAVA API,