Commit Graph

78 Commits

Author SHA1 Message Date
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
Jip-Hop fd5d987de4 Create bookworm jail by default 2023-10-28 10:52:31 +02:00
spusuf 628cf1f73b
More detailed examples in flags section of create jail function
I hate having to open the github everytime I want to make a jail with a macvlan static IP (often). So it would be nice to give better examples during the installer.
2023-10-24 11:54:11 +10:00
Jip-Hop cab79e3a24 Fallback to bullseye 2023-08-24 10:03:48 +02:00
Jip-Hop 645c758e50 Add startup command 2023-08-15 19:28:43 +02:00
Jip-Hop dd9d610178 Fix variable usage 2023-08-15 17:52:25 +02:00
Jip-Hop f14ace1f38 Formatting 2023-08-15 17:40:10 +02:00
Jip-Hop 757ac5d297 Filter out incompatible images 2023-08-15 17:39:28 +02:00
Jip-Hop 348f60bead Sort imports 2023-08-15 15:21:53 +02:00
Jip-Hop 1bcd4dbdd4 Add exec command 2023-08-15 14:45:52 +02:00
Jip-Hop 35e0d7c2db No os.system() 2023-08-15 14:01:05 +02:00
Jip-Hop 537994163f Add status and log commands 2023-08-15 13:49:52 +02:00
Jip-Hop 797ac0c7da Print to stderr 2023-08-15 13:34:37 +02:00
Jip-Hop 88f5951989 Skip starting if jail already running 2023-08-15 13:33:01 +02:00
Jip-Hop 4b9072cca7 Recommend jlmkr shell command 2023-08-15 13:27:15 +02:00
Jip-Hop aa6b1abd25 Add shell command 2023-08-15 13:21:28 +02:00
Jip-Hop b627410713 Add stop command 2023-08-15 13:13:51 +02:00
Jip-Hop b3fe3d302b Output jails list as table 2023-08-15 13:03:43 +02:00
Jip-Hop fef8e15f40 Fix jail create error 2023-08-15 08:07:36 +02:00
Jip-Hop b2a333643c Use full path for stat 2023-08-15 08:07:19 +02:00
Jip-Hop 33bbc3ab0f Add global variables 2023-08-15 07:41:54 +02:00
Jip-Hop a75a12eb80 Edit cli parsers 2023-08-15 07:31:27 +02:00
Jip-Hop 3d4cacf72b Version bump 2023-08-15 07:17:10 +02:00
Jip-Hop 74fb8535ca Restore edit lost in merge 2023-08-15 07:14:28 +02:00
Jip-Hop 77e5f7993a Merge branch 'develop' 2023-08-15 07:08:34 +02:00
Jip-Hop cee863e5e9 Symlink in /usr/local/sbin 2023-08-14 19:02:53 +02:00
Jip-Hop d59251d6de Add jail_is_running checks 2023-08-14 17:31:59 +02:00
Jip-Hop a53f698311 Add edit command 2023-08-14 16:12:33 +02:00
Jip-Hop 5317c3f833 Create symlink during install 2023-08-14 15:42:20 +02:00
Jip-Hop 6c0e790411 Update jlmkr.py 2023-08-14 15:19:25 +02:00
Jip-Hop 71836a11cb Add install command 2023-08-12 18:14:09 +02:00
Jip-Hop 2f243a7f80 Update jlmkr.py 2023-03-10 23:18:13 +01:00
Jip-Hop 039a965637 Rename delete to remove 2023-03-10 23:13:23 +01:00
Vítor Vasconcellos 4bca809145
Replace path obj .remove call with .unlink 2023-03-10 05:32:28 +00:00
Bobby Graese 125dd0be29 Discover library folders from nvidia-container-cli
Uses the output of `nvidia-container-cli --libraries` to determine which
folders the nvidia libraries exist in, and adds whatever those folders
are to the ld conf in the jail.  This avoids hard-coding the path, and
allows discovery of the proper path if it changes in the future.
2023-03-05 10:04:26 -06:00
Jip-Hop 52d40cdad0 Version 0.0.2
Cleanup nvidia code
2023-03-04 18:31:56 +01:00
Jip-Hop 1c62587403 Use nvidia-smi to detect nvidia GPU 2023-03-04 11:36:43 +01:00
Jip-Hop 3411021bcc Update jlmkr.py 2023-03-03 22:33:41 +01:00