Skip to content

Commit

Permalink
Define archetype in plenary object template
Browse files Browse the repository at this point in the history
- archetype name assigned to /system/archetype/name

Change-Id: Ice4559238bb36e299fc0f172c2fc13f357c9f13f
  • Loading branch information
jouvin committed Jun 30, 2018
1 parent 311ce0c commit 94b3fd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/aquilon/worker/templates/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 94b3fd7

Please sign in to comment.