From d026a0a6de8c2164b4bf34c3b687c36d6c8a8f17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz>
Date: Fri, 19 Mar 2021 03:52:47 +0100
Subject: [PATCH] Hadoop: set image visibility to community

---
 image/upload.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/image/upload.sh b/image/upload.sh
index 3b9e5f5..fd4fc98 100755
--- a/image/upload.sh
+++ b/image/upload.sh
@@ -12,4 +12,4 @@ for id in `openstack image list --name "$IMAGE" --column ID -f value`; do
 	openstack image delete "$id" || :
 done
 
-openstack image create --file "$1" --property default_user=debian --property hw_scsi_model=virtio-scsi --property hw_disk_bus=scsi --property hw_rng_model=virtio --property hw_qemu_guest_agent=yes --property os_require_quiesce=yes --property os_type=linux --property os_distro=debian "$IMAGE"
+openstack image create --file "$1" --community --property default_user=debian --property hw_scsi_model=virtio-scsi --property hw_disk_bus=scsi --property hw_rng_model=virtio --property hw_qemu_guest_agent=yes --property os_require_quiesce=yes --property os_type=linux --property os_distro=debian "$IMAGE"
-- 
GitLab