Commit db0ee348 authored by Łukasz Nowak's avatar Łukasz Nowak

Pass user correctly.

createWithOwner requires User object, not string representing username.
parent 0865e8a3
...@@ -211,7 +211,7 @@ class Computer: ...@@ -211,7 +211,7 @@ class Computer:
# all addresses on interface are for partition, so lets add new one # all addresses on interface are for partition, so lets add new one
computer_tap = Tap('compdummy') computer_tap = Tap('compdummy')
computer_tap.createWithOwner('root', attach_to_tap=True) computer_tap.createWithOwner(User('root'), attach_to_tap=True)
self.bridge.addTap(computer_tap) self.bridge.addTap(computer_tap)
return self.bridge.addAddr() return self.bridge.addAddr()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment