Debian Codegraph @

scripts/windows/setup-efw.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2 # Install dependencies required by eBPF for Windows.
3
4 set -euo pipefail
5
6 VM_NAME="$1"
7
8 ip=$(virsh --connect qemu:///system domifaddr "$VM_NAME" | gawkscip-shell system . . gawk. 'match($0, /([[:digit:]\.]+)\//, a) { print a[1] }')
9
10 if [scip-shell system . . `[`. -z "$ip" ]; then
11 echoscip-shell system . . echo. "Can't figure out IP address of VM, giving up"
12 exit 1
13 fi
14
15 echoscip-shell system . . echo. "VM IP is $ip"
16
17 echoscip-shell system . . echo. Installing eBPF for Windows dependencies
18 scpscip-shell system . . scp. ./*.ps1 "$ip":
19 sshscip-shell system . . ssh. -t "$ip" ".\\Setup.ps1"