similar to: Creating network interfaces with specific name in LXC

Displaying 20 results from an estimated 2000 matches similar to: "Creating network interfaces with specific name in LXC"

2015 Oct 30
2
Re: Creating network interfaces with specific name in LXC
Thanks Martin. What I would like to achieve is govern the interface name created within the container, so that my application can take different actions on different interfaces (such as eth0, eth1 etc.,). Libvirt's lxc driver seems to create interfaces as eth0, eth1 and so on, when there are multiple <interface /> entries in the domain xml. How can I request for a particular interface
2015 Nov 02
0
Re: Creating network interfaces with specific name in LXC
On Fri, Oct 30, 2015 at 10:09:51PM +0530, Harish Vishwanath wrote: >Thanks Martin. What I would like to achieve is govern the interface name >created within the container, so that my application can take different >actions on different interfaces (such as eth0, eth1 etc.,). > <interface> <guest dev='devicename'/> </interface> That is what you're
2015 Oct 30
0
Re: Creating network interfaces with specific name in LXC
On Fri, Oct 30, 2015 at 08:16:33PM +0530, Harish Vishwanath wrote: >Hello > >I am trying to create interfaces within an LXC container with specific >name. I am using the following XML: > > <interface type='network' name='blah'> > <source network='dpbr_n_0'/> > </interface> > That name='' is not parsed, it
2015 Apr 20
2
Mounting directory as readonly within LXC
Hello Is there a way to mount a directory as readonly when using LXC with libvirt? Something like: <filesystem type="mount"> <source dir="/sw/py27/python2.7_x86_64"/> <target dir="/opt//py27"/> <readonly/> </filesystem> The documentation says
2015 Mar 19
2
libvirt-python Segfaults
Hello I am trying to get libvirt-python working in Ubuntu 14.04 64 bit system. I tried installing the binaries from the repo itself: 1. root@test-vm8-109:/home/test# libvirtd --version libvirtd (libvirt) 1.2.2 root@test-vm8-109:/home/test# python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or
2015 Mar 20
1
Re: libvirt-python Segfaults
Hi Harish, I believe the proper establishment of a connection should be done by libvirt.open() or libvirt.openAuth() or libvirt.openReadOnly(). All of them will return a functional virConnect instance. I'm not sure this segfault is worth to fix since instantiate a virConnect directly is not an expected usage. Hope this information will help you. Best Regards, Hao Liu +86-010-62608262
2015 Dec 18
1
Getting IP address of a lxc container via libvirt
Hello I wanted to understand if there is a way to get LXC container's ip address. - virDomainInterfaceAddresses API only works for qemu/kvm and not with the lxc driver. What other options do I have? Using enter-lxc-namespace is throwing this error: virsh -c lxc:/// lxc-enter-namespace <domain> --noseclabel /sbin/ifconfig libvirt: error : Expected at least one file descriptor
2015 Dec 22
1
Setting environment variables for LXC Containers
Hello Is there a way to set custom environment variables for LXC containers so that it is available for all processes within the container? The libvirt-lxc driver seems to be setting up only the below variables (as per the docs), but there doesn't seem to be a way customize it. containerThe fixed string libvirt-lxc to identify libvirt as the creator container_uuidThe UUID assigned to the
2015 Mar 19
3
Building libvirt 1.2.13 from source
Hello I am trying to build libvirt 1.2.13 (latest) from source on a Ubuntu 14.04 64 bit box. After installing all the dependencies (libyajl, libdevmapper, libpciaccess, libnl), I could finish the build and install. However, invoking libvirtd throws this: root@ubuntu:/home/hvishwanath/Downloads/libvirt-1.2.13# libvirtd libvirtd: /usr/lib/libvirt-qemu.so.0: version `LIBVIRT_QEMU_1.2.3' not
2016 Nov 08
3
Sharing network namespace between containers
Hello Based on the lxc driver documentation, I am trying to create an xml to share an existing network namespace with another container. I am running libvirt 1.2.15. Here is the xml: <domain type='lxc' xmlns:lxc='http://libvirt.org/schemas/domain/lxc/1.0'> <name>nt</name> <uuid>43c00192-e114-4e29-8ce7-4b5487f60a75</uuid> <memory
2016 Aug 02
1
Assigning static ip address in libvirt
Hello Is there way to assign static ip address to lxc and KVM guests with libvirt? I saw some snippets here https://libvirt.org/formatdomain.html#ipconfig but unable to get it to work. Regards Harish Regards Harish
2012 Nov 12
1
where is libvirt-python document??
Hi libvirt users: Who can tell me where is the fucking doc? I want to use libvirt-python in my project.But I can't found the doc. I only found "TBD" in http://libvirt.org/guide/html/Application_Development_Guide-Language_Bindings.html Did I miss something? Thanks. -- ???: http://www.xuanmingyi.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2015 Apr 21
1
Libvirt disk API
Hi all: I am studying Libvirt API , I am wondering the API about the disk manage is TBD(to be difine). The edition is libvirt 0.7.5 ,but the edition is too old ,The website is http://libvirt.org/guide/html/Application_Development_Guide-Introduction.html So, if I want to manage the VM disk , for example read the disk, what should I do ?
2016 Nov 08
1
Re: Sharing network namespace between containers
Thank you. It looks like after I 'ignore', nothing is persisted in xml for the app. Any idea what is the minimum version of libvirt required for this feature? Regards, Harish On Tue, Nov 8, 2016 at 1:36 PM, Martin Kletzander <mkletzan@redhat.com> wrote: > On Tue, Nov 08, 2016 at 09:01:34AM +0530, Harish Vishwanath wrote: > >> Hello >> >> Based on the lxc
2014 Apr 14
3
Re: LXC + USB passthrough = Operation not permitted
Dear Fil, I am not sure if my answer can help you. I had ever asked a similar question to Daniel and I was using a thirty-party card. As a container uses a shared kernel with the host, so hostdev mode='subsystem' doesn't make sense. Maybe you can try to use hostdev mode='capabilities'. Please see http://libvirt.org/formatdomain.html#elementsHostDevCaps Hope this helps Cheng
2019 Jan 22
2
LXC guest to have/make a device node (FUSE)
hi guys With lxc container under libvirt control - how can guest create device nodes? I'm specifically looking for FUSE device. Is it possible somehow to get it to the guest(passthrough?) or allow the guest to create dev node? many thanks, L.
2014 Jul 01
2
configuring a lxc guest to run 32bits from a 64bits host under libvirt-lxc
Hi there I have a couple of newbie questions concerning running a 32bits guest in a 64bits host using libvirt - lxc; I’m running libvirt-1.2.5 on fedora18 and fedora20 (a) is this supported at all, and (b) if so how do I configure this for a given guest ? guessing from the mere existence of http://www.redhat.com/archives/libvir-list/2011-February/msg01040.html I would think the answer to (a) is
2003 Jun 12
1
NIC has IP, but has "no carrier"
Hello, My computer is not connecting to the local network with the following configuration: dmesg.boot contains the following lines: ----------------------------------------- vr0: <VIA VT3043 Rhine I 10/100BaseTX> port 0xec00-0xec7f mem 0xfeafbc00-0xfeafbc7f irq 11 at device 12.0 on pci2 vr0: Ethernet address: 00:40:05:a5:00:04 miibus0: <MII bus> on vr0 amphy0: <Am79C873 10/100
2006 Jul 06
6
Functional tsts
Hi all, I have created projects module in my application using scaffold, and it created me everything, and all the modules are working except the functional test. This is the error 1) Failure: test_create(ProjectsControllerTest) [test/functional/projects_controller_test.rb :55]: Expected response to be a <:redirect>, but was <200> 8 tests, 25 assertions, 1 failures, 0
2011 Nov 11
6
Puppet in a bash script
Hello, I''m using puppet via a bash script when I spin up a machine to configure it. I''d like to restart the instance after puppet''s run is complete. In my bash script I have: puppet agent --test shutdown -r now Puppet runs to completion, but "shutdown -r now" never executes. I''m not sure why not - these are the last two lines in my bash