~pwlars/ubuntu-test-cases/auto-offline-devices

« back to all changes in this revision

Viewing changes to jenkins/templates/touch-base.xml.jinja2

  • Committer: Paul Larson
  • Date: 2014-10-01 20:46:18 UTC
  • Revision ID: paul.larson@canonical.com-20141001204618-cwk7krb1hzoarf14
mark devices offline automatically if something goes wrong during recovery

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
export IMAGE_TYPE={{imagetype}}
46
46
export IMAGE_SERIES={{series}}
47
47
export DEVICE_TYPE={{device_type}}
 
48
{% if offline_device_user %}
 
49
export OFFLINE_DEVICE_USER="{{offline_device_user}}"
 
50
{% endif %}
 
51
{% if offline_device_key %}
 
52
set +x   # don't let this leak into the public
 
53
export OFFLINE_DEVICE_KEY="{{offline_device_key}}"
 
54
set -x
 
55
{% endif %}
48
56
 
49
57
${BZRDIR}/scripts/recover.py ${NODE_NAME}
50
58