Skip to content

Commit

Permalink
Set lo up
Browse files Browse the repository at this point in the history
QEMU binds smbd to lo so it needs to be up.

Signed-off-by: Akihiko Odaki <[email protected]>
  • Loading branch information
akihikodaki committed Apr 30, 2024
1 parent 8b8867d commit e0b84bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/ns_unshared
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ return if r.nil?
['mount', '--make-rprivate', '/'],

['mount', '--bind', File.join(__dir__, '..', 'etc', 'resolv.conf'), '/etc/resolv.conf'],
%w[ip link set lo up],
%w[ip link set tap_host up],
%w[ip link add br_world type bridge],
%w[ip addr add 10.0.2.100/24 dev br_world],
Expand Down

0 comments on commit e0b84bb

Please sign in to comment.