From ff2416b63809ab495408b87fc1dca589a54c8e18 Mon Sep 17 00:00:00 2001 From: jonct <2807816+jonct@users.noreply.github.com> Date: Mon, 15 Jul 2024 03:30:40 -0400 Subject: [PATCH] Extract images action --- src/jlmkr/actions/images.py | 5 +++++ src/jlmkr/donor/jlmkr.py | 1 + 2 files changed, 6 insertions(+) create mode 100644 src/jlmkr/actions/images.py diff --git a/src/jlmkr/actions/images.py b/src/jlmkr/actions/images.py new file mode 100644 index 0000000..645734b --- /dev/null +++ b/src/jlmkr/actions/images.py @@ -0,0 +1,5 @@ +# SPDX-FileCopyrightText: © 2024 Jip-Hop and the Jailmakers +# +# SPDX-License-Identifier: LGPL-3.0-only + +from utils.download import run_lxc_download_script diff --git a/src/jlmkr/donor/jlmkr.py b/src/jlmkr/donor/jlmkr.py index 3d942ed..b63de9a 100755 --- a/src/jlmkr/donor/jlmkr.py +++ b/src/jlmkr/donor/jlmkr.py @@ -143,6 +143,7 @@ from actions.log import log_jail from actions.shell import shell_jail from actions.start import start_jail from actions.restart import restart_jail +from actions.images import run_lxc_download_script def cleanup(jail_path):