Skip to content
Snippets Groups Projects
Commit 1088a02a authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis
Browse files

Refactor NIC configuration scripts


Add new script vif-ganeti that could be used instead of
default vif-bridge in order NIC customization can be more
flexible.

Extract common code from kvm-ifup and insert it in a new
file net-common that is being sourced by kvm-ifup and
vif-ganeti and located under package lib dir (/usr/lib/ganeti/).

Install vif-ganeti properly with make.

Add a mkdir and ln rule in install-exec-hook so that
the /etc/xen/scripts dir is created and the vif-ganeti
scripts gets properly linked inside it.

Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
Signed-off-by: default avatarThomas Thrainer <thomasth@google.com>
parent c07f38e1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment