Commit Graph

278 Commits

Author SHA1 Message Date
Jip-Hop a67e239be9 Merge branch 'main' into develop 2024-06-29 17:32:12 +02:00
Jip-Hop c1f6990b7f Add initial test script 2024-06-29 17:24:15 +02:00
Jip-Hop 21efe90062 Fix Python 3.12 SyntaxWarning
SyntaxWarning: invalid escape sequence
2024-06-29 16:43:17 +02:00
Jip-Hop 01e1156832 Accept config template from stdin
Closes #208
2024-06-28 15:51:01 +02:00
Jip-Hop e1f1d07872 Remove debug logging 2024-06-28 13:58:32 +02:00
Jip-Hop 1bd58c951e Cleanup log and status code 2024-06-28 13:56:47 +02:00
Lockszmith 1b796ca2cf Added passing arguments to log and status
This allows automated tests to run smoother.

Currently there are 2 tests that block the console for input:
* edit
* shell
2024-06-28 11:53:14 +02:00
Jip-Hop 2841137177 Copy resolv.conf on first start 2024-06-24 15:40:45 +02:00
Jip-Hop dd30ffe255 Chroot with contextmanager 2024-06-24 14:04:40 +02:00
Jip-Hop 1fa69d6bcc Bump version to 2.1.0 2024-06-24 10:29:51 +02:00
Jip-Hop 32143a9907 Add support for nixos 2024-06-24 10:29:24 +02:00
Jip-Hop 7832b17ae1 Detect init system in chroot 2024-06-24 10:24:33 +02:00
Jip-Hop 51884e215c Parse os-release in chroot
To parse the right os-release file case of absolute symlinks
2024-06-24 10:17:33 +02:00
Jip-Hop 49d65c1073 Fix case 2024-06-24 09:55:41 +02:00
Jip-Hop 804be6d760 Put initial_setup script in jail root 2024-06-24 09:41:24 +02:00
Jip-Hop 74e717a23b Fix comment in config templates 2024-06-23 18:33:20 +02:00
Jip-Hop 2ce89c2945 Fix removal of immutable/append-only files 2024-06-23 13:01:21 +02:00
Jip-Hop f87e372dae Fix removal of resolv.conf 2024-06-23 11:27:48 +02:00
Jip-Hop f94ff51a51 Update lxd template 2024-06-21 13:58:14 +02:00
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