diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-05-26 21:53:38 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-05-26 21:53:38 -0400 |
commit | f63f16c31be4f3b993a671e95b74550150f5715f (patch) | |
tree | 524f77253605e23b9afffda98cb0d2e2afbf9e19 /cloudinit/helpers.py | |
parent | 1174e19116f2934f927d89fe00ed8d6e22983d75 (diff) | |
download | vyos-cloud-init-f63f16c31be4f3b993a671e95b74550150f5715f.tar.gz vyos-cloud-init-f63f16c31be4f3b993a671e95b74550150f5715f.zip |
hide the instance_id file in /run/cloud-init by using .instance_id
i dont want to expose this as i'd rather have some json there
or write to /run/cloud-init/status.json . would also like to indicate
'first_boot' somewhere.
Diffstat (limited to 'cloudinit/helpers.py')
-rw-r--r-- | cloudinit/helpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/helpers.py b/cloudinit/helpers.py index d4acbe7e..fb95babc 100644 --- a/cloudinit/helpers.py +++ b/cloudinit/helpers.py @@ -350,7 +350,7 @@ class Paths(object): "data": "data", "vendordata_raw": "vendor-data.txt", "vendordata": "vendor-data.txt.i", - "instance_id": "instance-id", + "instance_id": ".instance-id", } # Set when a datasource becomes active self.datasource = ds |