diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-04-22 17:51:08 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-04-22 17:51:08 +0300 |
commit | 037a4f7ea70686d851a6e74478ec7a10f2538546 (patch) | |
tree | 93402f34a371f193a3b090e3c0acd2e8bd7725ac | |
parent | 08ab7750e7868c529c9d732e8c5d1f55cc413b7e (diff) | |
download | vmdb2-037a4f7ea70686d851a6e74478ec7a10f2538546.tar.gz |
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
-rw-r--r-- | vmdb/plugins/unpack_rootfs_plugin.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vmdb/plugins/unpack_rootfs_plugin.py b/vmdb/plugins/unpack_rootfs_plugin.py index dc67c01..005959f 100644 --- a/vmdb/plugins/unpack_rootfs_plugin.py +++ b/vmdb/plugins/unpack_rootfs_plugin.py @@ -38,7 +38,9 @@ class UnpackCacheStepRunner(vmdb.StepRunnerInterface): tar_path = settings["rootfs-tarball"] logging.debug(f"tar_path: {tar_path!r}") if not tar_path: - raise Exception("--rootfs-tarball MUST be set") + raise Exception( + "--rootfs-tarball MUST be set if using the 'unpack-rootfs' step" + ) if os.path.exists(tar_path): vmdb.runcmd(["tar", "-C", rootdir, "-xf", tar_path, "--numeric-owner"]) state.rootfs_unpacked = True |