From 3de0aceb6597937af7f71cf335afaa4e4b183382 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Wed, 9 Dec 2015 17:23:35 +0100 Subject: [PATCH] Fix guest additions path check in vbox schema --- bootstrapvz/providers/virtualbox/manifest-schema.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bootstrapvz/providers/virtualbox/manifest-schema.yml b/bootstrapvz/providers/virtualbox/manifest-schema.yml index 1141e66..910c342 100644 --- a/bootstrapvz/providers/virtualbox/manifest-schema.yml +++ b/bootstrapvz/providers/virtualbox/manifest-schema.yml @@ -3,10 +3,11 @@ $schema: http://json-schema.org/draft-04/schema# title: VirtualBox manifest type: object properties: - bootstrapper: + provider: type: object properties: - guest_additions: {type: string} + guest_additions: + $ref: '#/definitions/absolute_path' system: type: object properties: @@ -34,3 +35,7 @@ properties: - msdos - gpt required: [backing] +definitions: + absolute_path: + type: string + pattern: ^/[^\0]+$