commit | 333cb8bd69852ebb2010fc821e525345f0e6a8a9 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Thu Apr 20 23:10:39 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Fri Apr 21 10:21:02 2023 +0000 |
tree | e558dea1d60afb41a0694ffd0bcd5db5134e4c6c | |
parent | 76e39d81415a51926e784d441760773574ecbdb9 [diff] |
t/linux: patch out static virtual interfaces A few virtual drivers (bonding, dummy) predate netlink (~2003), which means that the kernel had no way to dynamically create network interfaces. The solution was kernel module paramter which statically precreated a list of these virtual interfaces. The number was generally set to 1 by default, meaning that loading the module creates one of its interface. For compatibility with legacy userspaces this is still kept around. We could set the parameters to zero, but doing that everywhere is a pain. This just patches the default values to zero. Change-Id: I605781b80fb8b20a7724e7fdfa5a4f75ca25eea1 Reviewed-on: https://review.monogon.dev/c/monogon/+/1589 Tested-by: Jenkins CI Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later!
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm
(if you want to run tests).Our docs assume that Bazelisk is available as bazel
on your PATH.
Refer to SETUP.md for detailed instructions.
Build CLI and node image:
bazel build //metropolis/cli/dbg //:launch -c dbg
Launch an ephemeral test node:
bazel test //:launch -c dbg --test_output=streamed
Run a kubectl command while the test is running:
bazel-bin/metropolis/cli/dbg/dbg_/dbg kubectl describe node
Run full test suite:
bazel test -c dbg //...