Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture swap devices #8

Closed
brianmcgee opened this issue Jun 12, 2024 · 0 comments · Fixed by #73
Closed

Capture swap devices #8

brianmcgee opened this issue Jun 12, 2024 · 0 comments · Fixed by #73
Assignees
Labels
enhancement New feature or request

Comments

@brianmcgee
Copy link
Member

For reference https://github.com/NixOS/nixpkgs/blob/dac9cdf8c930c0af98a63cbfe8005546ba0125fb/nixos/modules/installer/tools/nixos-generate-config.pl#L333-L357

@brianmcgee brianmcgee added the enhancement New feature or request label Jun 12, 2024
@brianmcgee brianmcgee changed the title Generate swap devices from currently activated swap devices Capture swap devices Aug 1, 2024
@brianmcgee brianmcgee self-assigned this Aug 1, 2024
brianmcgee added a commit that referenced this issue Aug 12, 2024
- introduces a `--swap,s` flag which controls whether `/proc/swaps` is captured in the report, `false` by default.
- introduces a `--ephemeral,e` flag which controls whether ephemeral properties are captured in the report, `false` by default and only includes `swap` for now.
- refactors the `basic` vm test to use Disko's testLib and checks more properties of the report output.

Closes #8.

Signed-off-by: Brian McGee <brian@bmcgee.ie>
brianmcgee added a commit that referenced this issue Aug 13, 2024
- introduces a `--swap,s` flag which controls whether `/proc/swaps` is captured in the report, `false` by default.
- introduces a `--ephemeral,e` flag which controls whether ephemeral properties are captured in the report, `false` by default and only includes `swap` for now.
- refactors the `basic` vm test to use Disko's testLib and checks more properties of the report output.

Closes #8.

Signed-off-by: Brian McGee <brian@bmcgee.ie>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant