Le 2/18/13 3:20 PM, Oriol Martí a écrit : > Hello, > after looking the mechanism of the contextualization variables to set > the network configuration, my idea is to pass the network parameters > with contextualization, my idea is to add to the context variables the > IP, netmask, DNS,... of the related NICs. > > I've been thinking to add a hook on create a VM, but I don't know if I > can modify the context variables at this point, does anybody know if > is possible? Sorry, you can't (yet) modify the context variable from hooks. this is an expected feature. > Maybe another solution could be launching the hook on the physical > node and modifying directly the cdrom image that opennebula creates, > but I'm not sure if this procedure it will be good because maybe the > cdrom image is not created when the hook is launched and can fail easily. > > Does anybody know if is possible to do? Maybe the only solution is > modifying source code? Where can I start? > > Thank you all, > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
-- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
