arm-autonomy/xenguest-network: add "none" network type to xenguests
PATCH 1/1 arm-autonomy/xenguest-network: add "none" network type to xenguests
This patch adds a new "none" network type that can be set for xenguests using XENGUEST_IMAGE_NETWORK_TYPE in their configuration.
Issue-Id: SCM-2338
Signed-off-by Hugo L'Hostis <[email protected]>
Change-Id If4f6de282b0048e5c68d293a3db5b56cd5adce66
--- .../recipes-extended/xenguest/files/network-bridge.sh.in | 3 +++ 1 file changed, 3 insertions(+)
meta-arm-autonomy/recipes-extended/xenguest/files/network-bridge.sh.in +3 -0
@@ -17,6 +17,9 @@ case "${XENGUEST_NETWORK_TYPE:=}" in echo "vif = ['script=vif-bridge,bridge=${BRIDGE_NAME}']" >> "${guestcfgfile:?}" log info "Network type is bridge: ${BRIDGE_NAME}" ;; + none) + log info "Network type is none" + ;; *) log error "XENGUEST_NETWORK_TYPE=$XENGUEST_NETWORK_TYPE invalid" ;;
Signature · 1 line
2.25.1