Commit Graph

309 Commits

Author SHA1 Message Date
Jip-Hop 118423324a Update .gitignore 2024-06-21 13:36:26 +02:00
Jip-Hop 43bdaf3ef8 Pass env vars when using alias
See https://forums.truenas.com/t/changing-default-editor-update-alternatives-not-working/6984/6
2024-06-21 12:30:44 +02:00
Jip-Hop cb94ee01f6 Bump version to 2.0.1 2024-06-15 12:05:56 +02:00
Jip-Hop 43b1197b5c Document DHCP slowness due to STP 2024-06-15 12:02:32 +02:00
Javy de Koning 9e605997ba
Adding k3s example (#197)
* Adding k3s example

---------

Co-authored-by: Javy de Koning <javydekoning@gmail.com>
Co-authored-by: Jip-Hop <2871973+Jip-Hop@users.noreply.github.com>
2024-06-14 18:58:55 +02:00
Jip-Hop cc359efc01
Update README.md 2024-05-29 17:47:10 +02:00
Jip-Hop 54f0c112ed
Merge pull request #188 from mrstux/patch-1
add instructions for sourcing .bashrc
2024-05-29 07:18:43 +02:00
Stuart Espey f78581e519
add instructions for sourcing .bashrc 2024-05-29 12:58:53 +10:00
Jip-Hop 955d80f31d
Merge pull request #187 from Jip-Hop/develop
v2.0.0
2024-05-28 20:59:51 +02:00
Jip-Hop fbe988137f Update docs 2024-05-28 20:55:46 +02:00
Jip-Hop 07f405ef73 Bump version to 2.0.0 2024-05-28 20:18:30 +02:00
Jip-Hop 9b6db0b660 Add license and copyright 2024-05-28 20:10:14 +02:00
Jip-Hop 927d4aa1ac Remove tab auto complete from interactive create 2024-05-28 19:46:51 +02:00
Jip-Hop 8c58673692 Remove deprecated config options and commands
Removed commands:
- install
Removed config options:
- gpu_passthrough
- docker_compatible
2024-05-28 19:44:54 +02:00
Jip-Hop 6c1d49cf77
Merge pull request #186 from Jip-Hop/develop
v1.5.0
2024-05-26 15:58:13 +02:00
Jip-Hop 4974cf8a9a
Merge pull request #185 from Jip-Hop/veth-extra
Veth extra
2024-05-25 23:31:40 +02:00
RyanMelena 2e133401d2
Add documentation for multiple network bridges (#182)
* Add documentation for multiple network bridges

* Change JailMaker to jailmaker

* fix link

* Fixed missed capitalization
2024-05-22 17:09:48 +02:00
Jip-Hop 0cda68c0a9 Support veth-extra for additional bridges 2024-05-20 19:37:59 +02:00
Jip-Hop d2eeefcf8e
Merge pull request #180 from Jip-Hop/develop
Properly handle path with spaces
2024-05-20 13:46:43 +02:00
Jip-Hop 511cf5d287 Properly handle path with spaces
Fix for #177
2024-05-20 13:44:28 +02:00
izenn cb252e8b72
seccomp documentation (#171)
Added seccomp configuration documentation
Closes #168
2024-05-13 08:13:54 +02:00
Darren Gibbard 525992727a
Fix for Nvidia Passthrough (#166)
* Fix Nvidia Passthrough closing #127
* Mount libraries parent directory
* Use the dynamic library path from the existing code
2024-05-11 10:29:16 +02:00
Jip-Hop bc8284edb8
Merge pull request #167 from Jip-Hop/develop
v1.4.0
2024-05-09 14:57:04 +02:00
Jip-Hop fa32995ff5 Update docs 2024-05-09 14:55:36 +02:00
Jip-Hop 380b1b7075 Add stux YouTube bridge tutorial 2024-05-09 11:57:59 +02:00
Jip-Hop d5ee177580 Update compatibility.md 2024-05-09 11:56:52 +02:00
Jip-Hop 6851ad2cd1 Fix podman rootless install instructions
Manually add the required capabilities to the `newuidmap` and `newgidmap` binaries
2024-05-08 22:59:03 +02:00
Jip-Hop 03fcb961b7 Log jail name after initial setup 2024-05-08 22:49:28 +02:00
Jip-Hop 2f4a113cf1 Bump version to 1.4.0 2024-05-08 22:25:19 +02:00
Jip-Hop b849cb787c Update config templates
Updated config templates to benefit from initial_setup running after jail has fully started.

Added conditional nvidia-container-toolkit install during initial_setup.

Config templates now default to bridge networking.
2024-05-08 22:24:59 +02:00
Jip-Hop 4cd7c54c58 Run initial_setup once jail starts for first time
First jail startup will now wait for init system and networking to be ready before running the initial_setup script inside the jail. All systemd_nspawn_user_args are now applied and the initial_setup script will have access to filed mounted via bind mounts.
2024-05-08 22:21:06 +02:00
Jip-Hop 93267b6ec6 Formatting 2024-05-08 18:59:58 +02:00
Jip-Hop 1108dbe5be
Update issue templates 2024-05-08 18:40:20 +02:00
Jip-Hop 2255039f55
Merge pull request #162 from Jip-Hop/develop
Update README.md
2024-05-07 20:10:50 +02:00
Jip-Hop d66c9cb31f Update README.md 2024-05-07 20:07:45 +02:00
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