Skip to content
Draft
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
459 changes: 459 additions & 0 deletions cmd/fence/linux_bootstrap.go

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions cmd/fence/linux_bootstrap_stub.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//go:build !linux

package main

import (
"fmt"
"os"
)

// runLinuxBootstrapWrapper is a stub for non-Linux platforms.
// The bootstrap wrapper is only needed inside Linux sandboxes.
func runLinuxBootstrapWrapper() {
fmt.Fprintln(os.Stderr, "[fence] --linux-bootstrap is only supported on Linux")
os.Exit(1)
}
Loading
Loading