Skip to content

Commit 8d14349

Browse files
authored
Merge pull request #260 from Jip-Hop/develop
v2.1.1
2 parents 18d0991 + fc535e9 commit 8d14349

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,16 @@ jobs:
1919
test:
2020
# The type of runner that the job will run on
2121
runs-on: ubuntu-24.04
22-
22+
defaults:
23+
run:
24+
shell: bash
2325
# Steps represent a sequence of tasks that will be executed as part of the job
2426
steps:
2527
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2628
- uses: actions/checkout@v4
27-
29+
- uses: actions/setup-python@v5
30+
with:
31+
python-version: '3.11' # TrueNAS SCALE 24.04 Dragonfish
2832
- name: Tune GitHub-hosted runner network
2933
uses: smorimoto/tune-github-hosted-runner-network@v1
3034

@@ -38,6 +42,7 @@ jobs:
3842
rm /etc/resolv.conf
3943
echo 'nameserver 1.1.1.1' > /etc/resolv.conf
4044
45+
apt-get update
4146
apt-get install -qq -y systemd-container
4247
4348
cat <<NETWORKCONFIG >/etc/systemd/network/10-br1.network

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
Persistent Linux 'jails' on TrueNAS SCALE to install software (k3s, docker, portainer, podman, etc.) with full access to all files via bind mounts.
44

5-
## Project Up For Adoption
5+
## Project Unmaintained
66

7-
Please read [the announcement](https://github.com/Jip-Hop/jailmaker/discussions/241).
7+
[As announced](https://github.com/Jip-Hop/jailmaker/discussions/241) this repo is no longer maintained by the original author: Jip-Hop. The final release is v2.1.1 which has been tested to be compatible with TrueNAS SCALE 24.10.0. Perhaps development continues in [one of the forks](https://github.com/Jip-Hop/jailmaker/forks). But since [iX has decided to integrate Incus in the SCALE 25.04 Fangtooth](https://github.com/truenas/middleware/pull/14592) it's probably best to start using that once it's available instead of relying on `jailmaker` and `systemd-nspawn`.
88

99
## Video Tutorial
1010

docs/compatibility.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
|TrueNAS 22.12||
88
|TrueNAS 23.10||
99
|TrueNAS 24.04||
10+
|TrueNAS 24.10||
1011

1112
## Distro Compatibility
1213
| | |

jlmkr.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
with full access to all files via bind mounts, \
55
thanks to systemd-nspawn!"""
66

7-
__version__ = "2.1.0"
7+
__version__ = "2.1.1"
88
__author__ = "Jip-Hop"
99
__copyright__ = "Copyright (C) 2023, Jip-Hop"
1010
__license__ = "LGPL-3.0-only"
@@ -116,7 +116,7 @@
116116
# https://manpages.debian.org/bookworm/manpages/sysfs.5.en.html
117117

118118
DOWNLOAD_SCRIPT_DIGEST = (
119-
"cfcb5d08b24187d108f2ab0d21a6cc4b73dcd7f5d7dfc80803bfd7f1642d638d"
119+
"645ba65a8846a2f402fc8bd870029b95fbcd3128e3046cd55642d577652cb0a0"
120120
)
121121
SCRIPT_PATH = os.path.realpath(__file__)
122122
SCRIPT_NAME = os.path.basename(SCRIPT_PATH)
@@ -863,7 +863,7 @@ def run_lxc_download_script(
863863
# Fetch the lxc download script if not present locally (or hash doesn't match)
864864
if not validate_sha256(lxc_download_script, DOWNLOAD_SCRIPT_DIGEST):
865865
urllib.request.urlretrieve(
866-
"https://raw.githubusercontent.com/Jip-Hop/lxc/97f93be72ebf380f3966259410b70b1c966b0ff0/templates/lxc-download.in",
866+
"https://raw.githubusercontent.com/Jip-Hop/lxc/b24d2d45b3875b013131b480e61c93b6fb8ea70c/templates/lxc-download.in",
867867
lxc_download_script,
868868
)
869869

@@ -905,12 +905,7 @@ def run_lxc_download_script(
905905
):
906906
print(line)
907907

908-
rc = p1.wait()
909-
# Currently --list will always return a non-zero exit code, even when listing the images was successful
910-
# https://github.com/lxc/lxc/pull/4462
911-
# Therefore we must currently return 0, to prevent aborting the interactive create process
912-
913-
# return rc
908+
return p1.wait()
914909

915910
return 0
916911

0 commit comments

Comments
 (0)