diff --git a/docs/USAGE.md b/docs/USAGE.md index 3283270..f627a20 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -9,7 +9,7 @@ ## 💐 image ### create - deletes any existing template -- downloads the configured cloud image +- downloads the cloud image from the url defined in kopsrox.ini - installs `qemu-guest-agent` into the image via `virt-customise` - imports the disk into proxmox storage using a `sudo qm` command - creates cloudinit drive with cloudinit data diff --git a/lib/verb_etcd.py b/lib/verb_etcd.py index d712b8e..c95b148 100755 --- a/lib/verb_etcd.py +++ b/lib/verb_etcd.py @@ -52,7 +52,7 @@ def list_snapshots(): for line in sorted(ls): # if cluster name matches the s3 line append to the images string - if re.search(cluster_name, line): + if re.search('s3', line) and re.search(cluster_name, line): images += line+'\n' # return images string