aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Skultety <eskultet@redhat.com>2023-05-18 15:24:41 +0200
committerErik Skultety <eskultet@redhat.com>2023-06-22 12:05:04 +0000
commitb970b0236dc4f8919f8970c3aed306fd19859ce5 (patch)
tree7f0d72ec0c659aa4301cdc221509efb7ce081255
parent8f4511a42b9fa9b3f95f470ff9509fbf8dbd8e89 (diff)
downloadlibvirt-ci-b970b0236dc4f8919f8970c3aed306fd19859ce5.zip
libvirt-ci-b970b0236dc4f8919f8970c3aed306fd19859ce5.tar.gz
libvirt-ci-b970b0236dc4f8919f8970c3aed306fd19859ce5.tar.bz2
commandline: Expose another install strategy choice - 'template'
Enable usage of user provided base image templates on the CLI. Signed-off-by: Erik Skultety <eskultet@redhat.com>
-rw-r--r--lcitool/commandline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcitool/commandline.py b/lcitool/commandline.py
index 0b774ed..ee12102 100644
--- a/lcitool/commandline.py
+++ b/lcitool/commandline.py
@@ -108,7 +108,7 @@ class CommandLine:
installstrategyopt = argparse.ArgumentParser(add_help=False)
installstrategyopt.add_argument(
"--strategy",
- choices=["url", "cloud"],
+ choices=["url", "cloud", "template"],
default="url",
help="where to install from (URL tree, latest cloud image)"
)