From 6cb38a019b3b37c0fd4d03291a88d28dcd616707 Mon Sep 17 00:00:00 2001 From: Dennis ten Hoove Date: Thu, 4 Jan 2024 18:31:33 +0100 Subject: [PATCH] Document cache param --- README.md | 5 +++++ arkdep | 3 +++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index d865c8f..1da80ae 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,11 @@ The target name may be substituted with a `-` to pull the default target. sudo arkdep deploy - 00ce35074659538f946be77d9efaefc37725335689 ``` +An item may be installed directly from the local `/arkdep/cache` directory, this will skip the database download and checksum check. +```shell +sudo arkdep deploy cache 00ce35074659538f946be77d9efaefc37725335689 +``` + You do not have to provide the full basename, you can provide it with an impartial basename, the first hit will be pulled and deployed. ```shell sudo arkdep deploy arkanelinux 00ce diff --git a/arkdep b/arkdep index e42199d..0a1b220 100755 --- a/arkdep +++ b/arkdep @@ -32,6 +32,9 @@ if [[ ! -n $1 ]]; then arkdep deploy test-arkanelinux-kde stable_v1 Download the defined image release from the specified variant + arkdep deploy cache stable_v1 + Deploy an image from the cache directly skipping database download and checksum check + arkdep remove stable_v1 Remove the defined deployment END