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 afb76d3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ foreach (EXTRA_SCRIPT check_qemu_oom dewebsockify vnctest)
PERMISSIONS ${EXECUTABLE_PERMISSIONS}
)
endforeach ()
install(
FILES "script/os-autoinst-setup-multi-machine"
DESTINATION "${CMAKE_INSTALL_BINDIR}"
PERMISSIONS ${EXECUTABLE_PERMISSIONS}
)
add_custom_target(install-openvswitch
COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=openvswitch -P "${CMAKE_BINARY_DIR}/cmake_install.cmake")

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
%{_sbindir}/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 afb76d3

Please sign in to comment.