diff options
author | Roberto Berto <463349+robertoberto@users.noreply.github.com> | 2024-05-13 19:53:14 +0000 |
---|---|---|
committer | Roberto Berto <463349+robertoberto@users.noreply.github.com> | 2024-05-13 19:53:14 +0000 |
commit | 8e90d13f6d762bbd0167ddfe26dddd2884ab3dfe (patch) | |
tree | 50e428b1ec0fbbfa4ec3b5390b97a5fcc2b5ca02 /scripts/vyos/platform-qemu.sh | |
parent | 666055f758690ee24926e4a421e08f7c97deee09 (diff) | |
download | packer-vyos-8e90d13f6d762bbd0167ddfe26dddd2884ab3dfe.tar.gz packer-vyos-8e90d13f6d762bbd0167ddfe26dddd2884ab3dfe.zip |
image build ready level1 install-image
Diffstat (limited to 'scripts/vyos/platform-qemu.sh')
-rw-r--r-- | scripts/vyos/platform-qemu.sh | 13 |
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 |