#!/bin/execlineb -S1 # SPDX-License-Identifier: EUPL-1.2+ # SPDX-FileCopyrightText: 2025 Alyssa Ross # SPDX-FileCopyrightText: 2025 Yureka Lilian # This script is to be called once it is known that this VM is a driver VM # (net provider) AND the vmm endpoint is ready. # It add the interface between the router and the driver VM. # Note: This script is designed to be re-entrant redirfd -w 2 /dev/null ch-remote --api-socket ${1}/vmm add-net id=router,vhost_user=on,socket=${1}/router-driver.sock,mac=02:01:00:00:00:01