typo
This commit is contained in:
parent
eef84fb2b9
commit
1c8bbb0007
|
@ -203,7 +203,7 @@ class VM:
|
||||||
|
|
||||||
print('[info] starting network', file=sys.stderr)
|
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, 'link', 'set', 'dev', self.ifname, 'up'])
|
||||||
subprocess.run([IP, 'address', 'add', HOST_IP4, 'dev', self.ifname])
|
subprocess.run([IP, 'address', 'add', HOST_IP4, 'dev', self.ifname])
|
||||||
subprocess.run([IP, 'address', 'add', HOST_IP6, 'dev', self.ifname])
|
subprocess.run([IP, 'address', 'add', HOST_IP6, 'dev', self.ifname])
|
||||||
|
|
Loading…
Reference in New Issue