diff options
author | Scott Moser <smoser@ubuntu.com> | 2018-04-26 16:24:24 -0500 |
---|---|---|
committer | Ryan Harper <ryan.harper@canonical.com> | 2018-04-26 16:24:24 -0500 |
commit | 6ef92c98c3d2b127b05d6708337efc8a81e00071 (patch) | |
tree | 9d7bc15bbc750effce7e90915ef47fc10aee649d /upstart | |
parent | 4731c8da25ee9bfbcf0ade1d7ffec95814d8622a (diff) | |
download | vyos-cloud-init-6ef92c98c3d2b127b05d6708337efc8a81e00071.tar.gz vyos-cloud-init-6ef92c98c3d2b127b05d6708337efc8a81e00071.zip |
IBMCloud: recognize provisioning environment during debug boots.
When images are deployed from template in a production environment
the artifacts of the provisioning stage (provisioningConfiguration.cfg)
that cloud-init referenced are cleaned up. However, when provisioned
in "debug" mode (internal to IBM) the artifacts are left.
This changes the 'is_ibm_provisioning' implementations in both
ds-identify and in the IBM datasource to identify the provisioning
stage more correctly. The change is to consider provisioning only
if the provisioing file existed and there was no log file or
the log file was older than this boot.
LP: #1767166
Diffstat (limited to 'upstart')
0 files changed, 0 insertions, 0 deletions