mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
New feature: you can drop hook scripts into /etc/xen/scripts/vif-post.d/*.hook Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
19 lines
835 B
Plaintext
19 lines
835 B
Plaintext
#============================================================================
|
|
# ${XEN_SCRIPT_DIR}/vif-post.d/00-vif-local.hook
|
|
#
|
|
# Script for performing local configuration of a vif.
|
|
# This script will be sourced by, e.g., vif-bridge after the hotplugging
|
|
# system calls vif-bridge. The script is here and not simply executed as
|
|
# a udev rule because this allows simple access to several environment
|
|
# variables set by the calling vif-* script.
|
|
#
|
|
# Environment vars:
|
|
# command (add|remove|online|offline)
|
|
# dev vif interface name (required).
|
|
# main_ip IP address of Dom0
|
|
# ip list of IP networks for the vif, space-separated
|
|
# XENBUS_PATH path to this device's details in the XenStore (required).
|
|
#============================================================================
|
|
|
|
# Place local modifications here.
|