Load default glance metadata definition on bootstrap
Load default metadata definitions into glance to simplify tagging resources such as flavors, images... Change-Id: I155226dc6f0abf8bd5be2b8643214825f70ae610 Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
This commit is contained in:
@@ -291,7 +291,16 @@ class GlanceOperatorCharm(sunbeam_charm.OSBaseOperatorAPICharm):
|
|||||||
"/etc/glance",
|
"/etc/glance",
|
||||||
"db",
|
"db",
|
||||||
"sync",
|
"sync",
|
||||||
]
|
],
|
||||||
|
[
|
||||||
|
"sudo",
|
||||||
|
"-u",
|
||||||
|
"glance",
|
||||||
|
"glance-manage",
|
||||||
|
"--config-dir",
|
||||||
|
"/etc/glance",
|
||||||
|
"db_load_metadefs",
|
||||||
|
],
|
||||||
]
|
]
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs) -> None:
|
def __init__(self, *args, **kwargs) -> None:
|
||||||
|
Reference in New Issue
Block a user