summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@noreply.codeberg.org>2023-12-24 08:05:36 +0000
committerLars Wirzenius <liw@noreply.codeberg.org>2023-12-24 08:05:36 +0000
commit0cd17f0f2cf8a677e66f4c153ae6a120a279c96c (patch)
tree600b8c43df398dc9b3d1093d4856e7a076f85ebf
parent4f8d528d564b7f90718ed6f43ed35c54e1d2128a (diff)
parentb7819a72de37b3617ff4e6ad0b04dd1b8f76812c (diff)
downloadambient-build-vm-0cd17f0f2cf8a677e66f4c153ae6a120a279c96c.tar.gz
Merge pull request 'fix: deal with no playbooks given' (#15) from minimize into main
Reviewed-on: https://codeberg.org/ambient/ambient-build-vm/pulls/15
-rwxr-xr-xambient-build-vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ambient-build-vm b/ambient-build-vm
index 3eeec39..c233437 100755
--- a/ambient-build-vm
+++ b/ambient-build-vm
@@ -85,7 +85,7 @@ def prepare_build_files(tmp, args):
if "debootstrap" in step:
step["debootstrap"] = args.debian
- for playbook in args.playbook:
+ for playbook in args.playbook or []:
vmdb["steps"].append(
{
# note: the value MUST be the root file system tag in the VMDB file