summaryrefslogtreecommitdiff
path: root/scripts/vyos/platform-qemu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyos/platform-qemu.sh')
-rw-r--r--scripts/vyos/platform-qemu.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/vyos/platform-qemu.sh b/scripts/vyos/platform-qemu.sh
new file mode 100644
index 0000000..d4049fa
--- /dev/null
+++ b/scripts/vyos/platform-qemu.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+set -x
+
+if [[ "${PLATFORM}" != "qemu" ]]; then
+ echo "$0 - info: platform not qemu, skipping"
+ exit 0
+fi
+
+export DEBIAN_FRONTEND=noninteractive
+apt install -y \
+ qemu-guest-agent