[one-users] Add network context variables automatically
Oriol Martí
omarti at cesca.cat
Mon Feb 18 06:20:16 PST 2013
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?
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,
More information about the Users
mailing list