From b9ca5945f280ae696f26ba5e5c7b3d112c356527 Mon Sep 17 00:00:00 2001 From: Daryl Walleck Date: Mon, 28 Apr 2014 17:53:37 -0500 Subject: [PATCH] Adds path separator character configuration for images Change-Id: Ibe92f2b8e596146526af0b949b3460d424aba6e7 --- cloudcafe/compute/images_api/config.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cloudcafe/compute/images_api/config.py b/cloudcafe/compute/images_api/config.py index 2ae1aaa4..cf48b150 100644 --- a/cloudcafe/compute/images_api/config.py +++ b/cloudcafe/compute/images_api/config.py @@ -37,6 +37,11 @@ class ImagesConfig(ConfigSectionInterface): """The default user created when a server is booted.""" return self.get("primary_image_default_user") + @property + def primary_image_path_separator(self): + """The character used to separate directories for the image.""" + return self.get("primary_image_path_separator", "/") + @property def secondary_image(self): """Alternate image to be used in compute test"""