From 94b3fd728c0f28e0cacaa3ee0acb298d9118c165 Mon Sep 17 00:00:00 2001 From: Michel Jouvin Date: Sat, 26 May 2018 08:43:12 +0200 Subject: [PATCH] Define archetype in plenary object template - archetype name assigned to /system/archetype/name Change-Id: Ice4559238bb36e299fc0f172c2fc13f357c9f13f --- lib/aquilon/worker/templates/host.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/aquilon/worker/templates/host.py b/lib/aquilon/worker/templates/host.py index c979b4f7b..e7cc0b385 100755 --- a/lib/aquilon/worker/templates/host.py +++ b/lib/aquilon/worker/templates/host.py @@ -233,6 +233,7 @@ def body(self, lines): lines.append("") dbos = self.dbobj.operating_system + pan_assign(lines, "system/archetype/name", self.dbobj.archetype.name) pan_assign(lines, "system/archetype/os", dbos.name) pan_assign(lines, "system/archetype/model", dbos.version) pan_assign(lines, "system/archetype/os_lifecycle", dbos.lifecycle)