summaryrefslogtreecommitdiff
path: root/cloudinit/helpers.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-05-26 21:53:38 -0400
committerScott Moser <smoser@ubuntu.com>2016-05-26 21:53:38 -0400
commitf63f16c31be4f3b993a671e95b74550150f5715f (patch)
tree524f77253605e23b9afffda98cb0d2e2afbf9e19 /cloudinit/helpers.py
parent1174e19116f2934f927d89fe00ed8d6e22983d75 (diff)
downloadvyos-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.py2
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