summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSakirnth Nagarasa <sakirnth@gmail.com>2022-03-09 16:21:56 +0000
committerSakirnth Nagarasa <sakirnth@gmail.com>2022-03-09 16:21:56 +0000
commit9ae19bd06cabfd2841cd3df5431600b1b19ae9b9 (patch)
tree461096b4c9f7341c17fbc0e0e4a1d7222d2520be
parentLinux VM should be created correctly with preseed file. (diff)
downloadcompute-tools-9ae19bd06cabfd2841cd3df5431600b1b19ae9b9.tar.xz
compute-tools-9ae19bd06cabfd2841cd3df5431600b1b19ae9b9.zip
Correcting vm template.tmp-qemu
-rw-r--r--share/config/vm.conf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/config/vm.conf.in b/share/config/vm.conf.in
index 688fb97..4fd4dd0 100644
--- a/share/config/vm.conf.in
+++ b/share/config/vm.conf.in
@@ -25,7 +25,7 @@ serial=mon:telnet::@PORT@,server,nowait
raw-options=-cpu host -smp cores=8,threads=2
# FIXME: absolut path
drive=format=raw,file=/var/lib/machines/@NAME@.img,if=ide,index=0
-vm.netdev=tap,id=eno1,ifname=@PRIMARY_TAP@,script=no,downscript=no -device virtio-net-pci,netdev=eno1,addr=1
+vm.netdev=tap,id=ens8,ifname=@PRIMARY_TAP@,script=no,downscript=no -device virtio-net-pci,netdev=ens8,addr=8
#vm.netdev=user,id=slirp -device virtio-net-pci,netdev=slirp,addr=7
[limit]