Commit Graph

115 Commits

Author SHA1 Message Date
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 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 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 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 cd067d7058 Bump version to 1.1.0 2024-03-02 18:38:06 +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 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 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 8571caa431 Create from config template with initial_setup 2024-02-11 18:30:47 +01:00
Jip-Hop a15d5d10f5 Fix startup 2024-02-10 13:21:49 +01:00
Jip-Hop d7b30011b0 Create jlmkr shell aliases 2024-02-10 13:04:18 +01:00
Jip-Hop f9730d3a32 Add start/stop hooks 2024-02-09 16:41:19 +01:00
Jip-Hop 6475b13f46 Add initial_rootfs_image to config for reference 2024-02-08 16:57:16 +01:00
Jip-Hop c4a5dd1c75 Don't stop and wait if jail is not running 2024-02-08 16:51:14 +01:00
Jip-Hop 1c83bb2dc7 Add restart command 2024-02-08 01:57:48 +01:00
Jip-Hop ed7a883f63 Config file multiline formatting 2024-02-08 01:33:27 +01:00
Jip-Hop 00e98ac07d Pass more status codes and arguments 2024-02-08 01:15:38 +01:00
Jip-Hop d94a2aac7d No need for try/except 2024-02-07 17:14:41 +01:00
Jip-Hop a5d53c0a7b Properly pass exit code from exec 2024-02-07 17:12:34 +01:00
Jip-Hop 4655f174b7 Add --inaccessible=/sys/module/apparmor
To trick the jail into thinking the apparmor kernel module is not loaded.
2024-01-29 09:01:05 +01:00
Jip-Hop ad95fe7cab Update comments 2024-01-29 08:58:28 +01:00
Jip-Hop 0f22a56946 Update jlmkr.py 2024-01-27 17:30:31 +01:00
Jip-Hop 53689df645 Remove redundant system-call-filter
Since SYSTEMD_SECCOMP=0 adding system-call-filter is redundant
2024-01-27 12:23:45 +01:00
Jip-Hop 303f79a3ae Add bind /sys/module to nspawn default args 2024-01-27 12:22:39 +01:00
Jip-Hop 2aba2c4a9d Load kernel module later 2024-01-27 05:44:05 +01:00
Jip-Hop 5021a060e5 Always bind /sys/module to make lsmod happy 2024-01-27 04:40:14 +01:00
Jip-Hop ae23b13301 Just ask for GPU passthrough 2024-01-27 04:23:46 +01:00
Jip-Hop bf54fea9a1 Add reference 2024-01-26 23:19:57 +01:00
Jip-Hop da2c90374b Load nvidia kernel module 2024-01-26 22:33:33 +01:00
Jip-Hop 79bd824505 Update comments 2024-01-26 20:56:25 +01:00
Jip-Hop 474faf6ede Use ruff formatter 2024-01-21 18:21:24 +01:00
Jip-Hop 93190d453f Override systemd-networkd preset 2024-01-21 18:10:09 +01:00
Jip-Hop 38bf14d928 Fix f-string without any placeholders 2024-01-20 16:47:51 +01:00
Jip-Hop 0e7bedda80 Bump version to 1.0.1 2023-11-18 18:20:07 +01:00
Jonathan Rascher 13275f3500 Enable IPv6 link-local addressing to unbreak SLAAC/DHCPv6
Fixes #55. I've left link-local addressing disabled for IPv4 as that matches the
systemd behavior when `LinkLocalAddressing` is omitted from the `.network` file.
2023-11-15 18:41:29 -06:00