-
Apollon Oikonomopoulos authored
Commit 6b47261a exported the VLAN to the KVM NIC configuration scripts. However, in doing so it assumed that the VLAN is always present in the runtime, which is not true for instances being migrated but started on Ganeti versions prior to 2.10.6. We fix this by exporting the VLAN nicparam only if it actually exists. This closes issue #893. Signed-off-by: Apollon Oikonomopoulos <apoikos@gmail.com> Signed-off-by: Klaus Aehlig <aehlig@google.com> Reviewed-by: Klaus Aehlig <aehlig@google.com>
3089f062