Skip to contentSkip to conversation

arm-autonomy/xenguest-network: add "none" network type to xenguests

PATCH New Hugo L'Hostis 1 participant 1 message Jun 9, 2021

lore
Share & tools
lore
#0 lore raw

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

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
index e697f7e..10bbe36 100755
@@ -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