On 02/22/2011 07:08 AM, Daniel P. Berrange wrote: > When spawning 'init' in the container, set > > LIBVIRT_LXC_UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX > LIBVIRT_LXC_NAME=YYYYYYYYYYYY > > to allow guest software to detect & identify that they > are in a container Sounds reasonable. Does virt-what know to look for these yet? > @@ -109,6 +124,8 @@ static int lxcContainerExecInit(virDomainDefPtr vmDef) > const char *const envp[] = { > "PATH=/bin:/sbin", > "TERM=linux", > + uuidenv, > + nameenv, > NULL, > }; ACK, but why aren't we using virCommand yet? -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list