Split the core-OS and instance-specific env
authorIustin Pop <iustin@google.com>
Fri, 11 Jun 2010 00:30:11 +0000 (02:30 +0200)
committerIustin Pop <iustin@google.com>
Mon, 14 Jun 2010 18:35:59 +0000 (20:35 +0200)
commitefaa9b06d1e1e6d1678d0edd75b1ba37cf0de3d9
treed821aaa909476abdf75037153cf249482260879e
parent73e0328b245b54bd599ccde5fe2b48b735add196
Split the core-OS and instance-specific env

Since we'll need to be able to generate the OS-specific environment
separately from the instance one, we move it to a separate function. We
also add a new OS_NAME env. var which is identical to the INSTANCE_OS
one (which won't exist for OS-only environments).

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/backend.py
man/ganeti-os-interface.sgml