Skip to content

Commit

Permalink
Merge pull request #2428 from asdil12/nogroup
Browse files Browse the repository at this point in the history
os-autoinst-setup-multi-machine: Fix tap group discrepancy
  • Loading branch information
mergify[bot] committed Jan 9, 2024
2 parents 1a4a800 + 09f7482 commit 0a4fcbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/os-autoinst-setup-multi-machine
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ setup_multi_machine_with_networkmanager() {
# Create tap interfaces
for i in 0 $(seq 1 "$instances"; seq 64 $((64+instances)); seq 128 $((128+instances))); do
nmcli con add type ovs-port con.int "tap$i" con.master "$bridge"
nmcli con add type tun mode tap owner "$(id -u _openqa-worker)" group "$(getent group nobody | cut -f3 -d:)" con.int "tap$i" master "tap$i"
nmcli con add type tun mode tap owner "$(id -u _openqa-worker)" group "$(getent group nogroup | cut -f3 -d:)" con.int "tap$i" master "tap$i"
done
create_gre_preup_script /etc/NetworkManager/dispatcher.d/gre_tunnel_preup.sh
}
Expand Down

0 comments on commit 0a4fcbf

Please sign in to comment.