summaryrefslogtreecommitdiffstats
path: root/share/build-scripts/qemu
diff options
context:
space:
mode:
authorSakirnth Nagarasa <sakirnth@gmail.com>2022-03-09 16:13:09 +0000
committerSakirnth Nagarasa <sakirnth@gmail.com>2022-03-09 16:13:09 +0000
commited356361fd254a9e19eb29e18ce4396a450fe6c7 (patch)
tree58f2c0734865668be43093b947f508e7c0a65d3b /share/build-scripts/qemu
parentCorrecting path for debconf scripts. (diff)
downloadcompute-tools-ed356361fd254a9e19eb29e18ce4396a450fe6c7.tar.xz
compute-tools-ed356361fd254a9e19eb29e18ce4396a450fe6c7.zip
Linux VM should be created correctly with preseed file.
Diffstat (limited to 'share/build-scripts/qemu')
-rwxr-xr-xshare/build-scripts/qemu1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/build-scripts/qemu b/share/build-scripts/qemu
index 6fd8248..ebffa1f 100755
--- a/share/build-scripts/qemu
+++ b/share/build-scripts/qemu
@@ -961,6 +961,7 @@ Commands ()
-e "s|^bind=.*|bind=${BIND}|g" \
-e "s|^bind-ro=.*|bind-ro=${BIND_RO}|g" \
-e "s|^network-veth-extra=.*|network-veth-extra=${HOST_INTERFACE_NAME}:eno1|g" \
+ -e "s|@PRIMARY_TAP@|${HOST_INTERFACE_NAME}|g" \
"${CONFIG}/${NAME}.conf"
if [ "${NETWORK_NUMBER}" -ge 2 ]