This commit is contained in:
lapinot 2024-06-02 23:40:29 +02:00
parent eef84fb2b9
commit 1c8bbb0007
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ class VM:
print('[info] starting network', file=sys.stderr)
subprocess.run([IP, 'tuntap', 'add', 'dev', self.ifname, 'mode', 'tag', 'group', QEMU_GROUP])
subprocess.run([IP, 'tuntap', 'add', 'dev', self.ifname, 'mode', 'tap', 'group', QEMU_GROUP])
subprocess.run([IP, 'link', 'set', 'dev', self.ifname, 'up'])
subprocess.run([IP, 'address', 'add', HOST_IP4, 'dev', self.ifname])
subprocess.run([IP, 'address', 'add', HOST_IP6, 'dev', self.ifname])