Skip to content

Commit 452961d

Browse files
authored
Add postinstall and associated checks, reorg checkers, root check, etc (#11)
- Explicitly fail if tool is run as nonroot. - Add `postinstall` command - Add `service` readiness checker - Add `kube` postinstall checker - Add `guest type` postinstall chcker - Add `system recorder` postinstall checker (captures everything the preinstall one does, plus (some) Xen bits, more can be added later) - Reorganize, share, and split up some bits
2 parents 00892a8 + 7adf06d commit 452961d

28 files changed

Lines changed: 1492 additions & 584 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ cli.md
3333
# example outputs
3434
/image-cache
3535
edera-preinstall-report*
36+
edera-postinstall-report*

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ tar = "0.4.44"
1616
tokio = { version = "1", features = ["full"] }
1717
tokio-util = { version = "0.7" }
1818
tokio-stream = { version = "0.1", features = ["io-util", "net"] }
19-
nix = { version= "0.31", features = ["sched"] }
19+
nix = { version= "0.31", features = ["sched", "user"] }
2020
futures = "0.3"
2121
async-trait = "0.1"
2222
clap = { version = "4.5", features = ["derive"] }

src/checkers/byo_kernel.rs

Lines changed: 0 additions & 245 deletions
This file was deleted.

0 commit comments

Comments
 (0)