From f4f574551a526438dcff739fb6e62ac318e145b5 Mon Sep 17 00:00:00 2001
From: Rafael Monnerat <rafael@nexedi.com>
Date: Tue, 11 Apr 2017 15:33:24 +0200
Subject: [PATCH] kvm: destination don't exist, use target instead

---
 software/kvm/common.cfg      | 2 +-
 software/kvm/instance.cfg.in | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/software/kvm/common.cfg b/software/kvm/common.cfg
index 1a3bc7247..1f638e6d6 100644
--- a/software/kvm/common.cfg
+++ b/software/kvm/common.cfg
@@ -87,7 +87,7 @@ command =
 [template]
 recipe = slapos.recipe.template
 url = ${:_profile_base_location_}/instance.cfg.in
-md5sum = d71c718cd5c4c17087bfa44684b7db47
+md5sum = 3544e25820d1511d153944fc36579986
 output = ${buildout:directory}/template.cfg
 mode = 0644
 
diff --git a/software/kvm/instance.cfg.in b/software/kvm/instance.cfg.in
index d8cb73e95..6fa65eebd 100644
--- a/software/kvm/instance.cfg.in
+++ b/software/kvm/instance.cfg.in
@@ -123,8 +123,8 @@ context =
     key slapparameter_dict slap-configuration:configuration
     raw curl_executable_location ${curl:location}/bin/curl
     raw template_monitor ${monitor2-template:rendered}
-template-parts-destination = ${template-parts:destination}
-template-replicated-destination = ${template-replicated:destination}
+template-parts-destination = ${template-parts:target}
+template-replicated-destination = ${template-replicated:target}
 import-list = file parts :template-parts-destination
               file replicated :template-replicated-destination
 mode = 0644
-- 
2.30.9