Skip to content

Commit

Permalink
Include os-autoinst-setup-multi-machine in doc+package
Browse files Browse the repository at this point in the history
  • Loading branch information
okurz committed Aug 1, 2023
1 parent 9cca1aa commit 55e0554
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ install(
PERMISSIONS ${EXECUTABLE_PERMISSIONS}
COMPONENT "openvswitch" EXCLUDE_FROM_ALL
)
install(
FILES "script/os-autoinst-setup-multi-machine"
DESTINATION "${CMAKE_INSTALL_BINDIR}"
PERMISSIONS ${EXECUTABLE_PERMISSIONS}
COMPONENT "openvswitch" EXCLUDE_FROM_ALL
)
install(
FILES "etc/dbus-1/system.d/org.opensuse.os_autoinst.switch.conf"
DESTINATION "${CMAKE_INSTALL_FULL_SYSCONFDIR}/dbus-1/system.d"
Expand Down
1 change: 1 addition & 0 deletions dist/rpm/os-autoinst.spec
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ cd %{__builddir}
%{_unitdir}/os-autoinst-openvswitch.service
%config /etc/dbus-1/system.d/org.opensuse.os_autoinst.switch.conf
%{_sbindir}/rcos-autoinst-openvswitch
%{_bindir}/os-autoinst-setup-multi-machine

%files devel
%ifarch x86_64
Expand Down
4 changes: 4 additions & 0 deletions doc/networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ e.g. "tunctl -u _openqa-worker -p -t tap0".
Some configuration can also be configured by environment variables as defined
in the script `os-autoinst-openvswitch`.

The script `script/os-autoinst-setup-multi-machine` can be used to setup
common dependencies for that setup to work including firewalld configuration
and TAP and bridge device setup.

## Multiple network devices
To create multiple network devices, one can set multiple, comma-separated MAC addresses
via NICMAC. The TAPDEV variable supports multiple, comma-separated values, too.
Expand Down

0 comments on commit 55e0554

Please sign in to comment.