Commit Graph

274 Commits

Author SHA1 Message Date
Max Nordlund 487b0cde68
Follow Debian guidelines for launching editors (#157)
* Follow Debian guidelines for launching editors

When jailmaker wants to ask the user to edit a file, mostly a jail
config, it currently uses `nano`. This is not how a program is supposed
to work according to [Debian's guidelines]. This changes the hardcoded
`nano` to look up the correct editor to use using environmental
variables.

[1]: https://www.debian.org/doc/debian-policy/ch-customized-programs.html#editors-and-pagers

* Bump version to 1.3.0

---------

Co-authored-by: Jip-Hop <2871973+Jip-Hop@users.noreply.github.com>
2024-05-07 20:02:36 +02:00
Jip-Hop e6d8f74c51
Merge pull request #147 from Jip-Hop/develop
Update readme and config templates
2024-04-28 12:14:46 +02:00
Jip-Hop 98ed986902 Update README.md 2024-04-28 12:12:38 +02:00
Jip-Hop 216b482ee9 Update config templates
Don't enable gpu_passthrough_intel by default
2024-04-28 11:59:16 +02:00
Jip-Hop 5e0844ab2d Update README.md 2024-04-28 11:57:41 +02:00
Jip-Hop ea208ba955
Merge pull request #141 from Jip-Hop/develop
Support spaces in pool and dataset name
Closes #122
2024-04-26 16:55:49 +02:00
Jip-Hop 2e09de47b7 Support spaces in pool and dataset name 2024-04-26 16:47:56 +02:00
Jip-Hop bb808eb10c
Merge pull request #126 from mrstux/add-gitignore
Add .gitignore
2024-04-24 17:54:32 +02:00
Jip-Hop d1d42616fe
Update README.md (#136)
Update README.md
2024-04-24 17:48:17 +02:00
Jip-Hop fe8fcf3807
Correct semver (#134)
Bump version to 1.2.0
2024-04-24 17:21:45 +02:00
root c7c70a6e59 add .gitignore
by ignoring the .lxc and jails directories it means that the jlmkr script can be
run directly from a checkout, complete with documentation and templates
2024-04-24 17:01:08 +10:00
Jip-Hop 9661f4ff19
Deprecate docker_compatible and gpu_passthrough (#121)
Remove --property=DeviceAllow= so it won't interfere with DevicePolicy=auto
Added seccomp config option
Deprecated docker_compatible config option
Deprecated gpu_passthrough config option
Removed the docker_compatible question during interactive create
Updated readme and config templates
Closes https://github.com/Jip-Hop/jailmaker/issues/119
2024-04-22 20:50:40 +02:00
TempleHasFallen a7c4b9dbad
Added Full ZFS Dataset Support (#118)
Added Full ZFS Dataset Support:

- The script will now create a ZFS dataset for each jail if the 'jailmaker' directory is a ZFS dataset
- The script will create the 'jails' directory as a dataset if the 'jailmaker' directory is a ZFS dataset
- The script will now remove the ZFS dataset (including snapshots) when deleting the jail
- Dual mode: For legacy use without datasets, it will continue to work as previously

Added a guide to migrate from using directories to using ZFS datasets.

Closes #80.

---------

Co-authored-by: Jip-Hop <2871973+Jip-Hop@users.noreply.github.com>
2024-04-14 16:07:47 +02:00
Matthias Schabhüttl f046dd3d32
Fix for hostname of LXC not set correctly (#116)
* Remove unnecessary script trim in jlmkr

* Update download script digest hash

* Bump version to 1.1.3

* Remove unused method

---------

Co-authored-by: Jip-Hop <2871973+Jip-Hop@users.noreply.github.com>
2024-04-07 18:41:55 +02:00
Jip-Hop 949c162fb7
Merge pull request #114 from Jip-Hop/develop
Release 1.1.2
2024-04-07 13:12:28 +02:00
Jip-Hop d3e35d2b0a Bump version to 1.1.2 2024-04-07 12:56:10 +02:00
Jip-Hop ff11d7416a Use updated lxc-download script from upstream 2024-04-07 12:54:47 +02:00
Jip-Hop a65bf03445 Update cleanup docstring 2024-04-07 11:58:09 +02:00
Jip-Hop eee3abef8e Stat_chmod jails dir during non-interactive create 2024-04-06 11:20:31 +02:00
Jip-Hop 823e74a78b Update README.md 2024-04-06 11:19:23 +02:00
Jip-Hop 5e222b24fa Merge branch 'main' into develop 2024-03-31 17:06:03 +02:00
Jip-Hop 3ef16a69ae
Merge pull request #110 from hugojosefson/patch-1
Format templates/incus/README.md benchmarks
2024-03-31 17:05:36 +02:00
Jip-Hop c5dda95209 Update links to bookworm 2024-03-31 16:44:30 +02:00
Hugo Josefson 2e3dc3186d
Format templates/incus/README.md benchmarks 2024-03-31 15:33:11 +02:00
Jip-Hop 27d090919e Continue after failed nvidia kernel module load 2024-03-07 19:30:13 +01:00
Jip-Hop f210f015f2 Add warnings to non-interactive create 2024-03-07 19:27:43 +01:00
Jip-Hop d1f86a186c Improve exception handling 2024-03-02 23:17:06 +01:00
Jip-Hop 12a995776a
Merge pull request #96 from Jip-Hop/develop
Fix GPU passthrough
2024-03-02 22:33:34 +01:00
Jip-Hop 5318635b92 Bump version to 1.1.1 2024-03-02 22:20:00 +01:00
Jip-Hop a12e04aa2f Fix GPU passthrough 2024-03-02 22:18:48 +01:00
Jip-Hop 0a56d97e72 Add TODO 2024-03-02 21:01:41 +01:00
Jip-Hop f4f7311a12
Release 1.1.0 2024-03-02 18:41:49 +01:00
Jip-Hop cd067d7058 Bump version to 1.1.0 2024-03-02 18:38:06 +01:00
Jip-Hop 2740a4323a Update compatibility.md 2024-03-02 18:22:46 +01:00
Jip-Hop 9e160c8a52 Fix list fallback value 2024-03-02 18:20:25 +01:00
Jip-Hop ac75cd3c28 Add --start flag for create command 2024-03-02 17:34:55 +01:00
Jip-Hop 2b104682b5 Update README.md 2024-03-02 17:20:50 +01:00
Jip-Hop 98f812be8b Cosmetic changes 2024-03-02 17:20:47 +01:00
Jip-Hop fe00c3cf37 Non-interactive jail create 2024-03-01 17:35:05 +01:00
Jip-Hop fc38d01082 Improved config parsing and bug fixes
Fixed failing cleanup of initial_setup_file when initial_setup is a command instead of a file
2024-02-25 16:31:34 +01:00
Jip-Hop dc928ecd96 Format config templates 2024-02-25 16:19:48 +01:00
Jip-Hop 21eef74929 List more jail details 2024-02-16 13:41:12 +01:00
Jip-Hop f030606c83 Don't auto start jail without systemd 2024-02-16 11:11:20 +01:00
Jip-Hop aa0d0c6d1d Cleanup if create is aborted 2024-02-16 10:52:29 +01:00
Jip-Hop 930e9568d4 Ask startup question earlier 2024-02-16 10:46:51 +01:00
Jip-Hop 7be1c7c7d2 Always wait until jail stopped 2024-02-16 10:39:48 +01:00
Jip-Hop f37f6df7f7 Update jlmkr.py 2024-02-15 17:40:13 +01:00
Jip-Hop dd60c6a6f6 Update templates 2024-02-15 17:23:57 +01:00
Jip-Hop 0d742e8a90 Add Incus template 2024-02-13 21:01:28 +01:00
Jip-Hop ba74d5d3bd Update README.md 2024-02-11 18:32:33 +01:00