Commit Graph

156 Commits

Author SHA1 Message Date
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
Jip-Hop d8c85c0d7a Update jlmkr.py 2023-03-03 21:28:06 +01:00
Jip-Hop e8919141d2 Deprecate gpu_passthrough conf, retry nvidia cli 2023-03-03 20:46:10 +01:00
Jip-Hop 88b67cad1f Add comments 2023-03-02 21:36:11 +01:00
Jip-Hop 3333dfabba Update jlmkr.py 2023-03-02 21:20:41 +01:00
Jip-Hop 3f05a43e9e Fixes for nvidia driver 2023-03-02 18:23:34 +01:00
Jip-Hop 063b9973ae Don't mount to many files 2023-03-02 09:25:47 +01:00
Jip-Hop 857b57bc39 Nvidia mounts and parser fixes 2023-03-01 21:06:04 +01:00
Jip-Hop de51c05825 Update jlmkr.py 2023-02-28 22:17:20 +01:00
Jip-Hop 845b1b404c No os.system 2023-02-28 22:01:46 +01:00
Jip-Hop 25694734a4 Merge branch 'main' into develop 2023-02-28 20:57:33 +01:00
Jip-Hop 2de050c0b1 Only list subdirectories (not files) 2023-02-28 20:54:50 +01:00
Jip-Hop 5193085ad3 Don't use ls grep and awk in python 2023-02-28 20:49:44 +01:00
Jip-Hop 9406cebf6d Merge branch 'delete-cmd' into pr/6 2023-02-28 20:31:36 +01:00
Jip-Hop 218aa02cd0 Update jlmkr.py 2023-02-28 20:25:11 +01:00
Basti Qdoba d618f29d9b
Merge branch 'Jip-Hop:main' into main 2023-02-28 19:11:27 +01:00
Basti Qdoba d86df43cc6
Merge pull request #2 from qudiqudi/list-feature
lists available and running containers
2023-02-28 18:54:07 +01:00
Eike 5e0726f9f1 listing available and running containers 2023-02-28 12:17:35 +01:00
Jip-Hop 1b501bd32a Update jlmkr.py 2023-02-28 07:50:15 +01:00
Basti Qdoba 06e47196db
Merge branch 'Jip-Hop:main' into main 2023-02-27 22:08:57 +01:00
Eike dbb1c5f719 delete feature added 2023-02-27 22:01:36 +01:00
Jip-Hop 4b1d881a95 Update jlmkr.py 2023-02-27 21:12:39 +01:00
Eike 554a3ed054 initial commit 2023-02-27 20:49:25 +01:00
Basti Qdoba eff2592ae5
Update jlmkr.py 2023-02-27 20:25:15 +01:00
Jip-Hop 1de5425015 Update jlmkr.py 2023-02-27 18:08:05 +01:00
Jip-Hop 7242f1b247 Add images subcommand 2023-02-05 17:22:46 +01:00
Jip-Hop cf9b07a09f Update jlmkr.py 2023-02-05 05:26:55 +01:00
Jip-Hop e29359f655 Fix reading config file 2023-02-04 20:21:36 +01:00
Jip-Hop cdee8068f7
From bash to python (#2)
* Create jlmkr.py

* Update jlmkr.py

* Auto format

* Update jlmkr.py

* Update jlmkr.py

* Update jlmkr.py

* Update jlmkr.py

* Update jlmkr.py

* Update jlmkr.py

* Remove sh script
2023-02-04 20:03:14 +01:00