commit | 79d6f5b78b5b4209071994c53fe7d81f3a696c91 | [log] [tgz] |
---|---|---|
author | David K. Bainbridge <dbainbri@ciena.com> | Tue Jan 24 11:28:45 2017 -0800 |
committer | David K. Bainbridge <dbainbri@ciena.com> | Wed Jan 25 17:45:47 2017 -0800 |
tree | b8ef5342e0f3ec601856042ee7a44c6b2292cf34 | |
parent | 43d62b5b09aadc05b1f708f1c5ed276612b63721 [diff] |
cord-776 create build / runtime containers for autmation uservice Change-Id: Iee8b7b94e04e13318c879986ddeca39159ec8f7b
diff --git a/roles/automation-integration/templates/do-enlist-compute-node.j2 b/roles/automation-integration/templates/do-enlist-compute-node.j2 index 9f617f1..1c96cce 100644 --- a/roles/automation-integration/templates/do-enlist-compute-node.j2 +++ b/roles/automation-integration/templates/do-enlist-compute-node.j2
@@ -1,13 +1,13 @@ -#!/bin/bash +#!/bin/ash ID=$1 HOSTNAME=$2 LOG=/etc/maas/ansible/logs/$ID.log -INV=$(tempfile) +INV=$(mktemp) cat >$INV <<EO_INV [head] -juju-head-node ansible_user={{ ansible_user_id }} +juju-head-node.cord.lab ansible_user={{ ansible_user_id }} [compute] $HOSTNAME ansible_user=ubuntu