m/n/core: verbose logging to tty0 and ttyS0
https://review.monogon.dev/517 broke console logging in Nodes, this
re-enables it by explicitly logging to all available consoles instead of
just using whatever we get as stderr.
Change-Id: I3ffde421f1ac07492a1bc3293c31f934f602aefb
Reviewed-on: https://review.monogon.dev/c/monogon/+/523
Reviewed-by: Mateusz Zalega <mateusz@monogon.tech>
diff --git a/metropolis/node/core/mounts.go b/metropolis/node/core/mounts.go
index a54331d..797d892 100644
--- a/metropolis/node/core/mounts.go
+++ b/metropolis/node/core/mounts.go
@@ -22,14 +22,12 @@
"strings"
"golang.org/x/sys/unix"
-
- "source.monogon.dev/metropolis/pkg/logtree"
)
// setupMounts sets up basic mounts like sysfs, procfs, devtmpfs and cgroups.
// This should be called early during init as a lot of processes depend on this
// being available.
-func setupMounts(log logtree.LeveledLogger) error {
+func setupMounts() error {
// Set up target filesystems.
for _, el := range []struct {
dir string