diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-01-19 20:27:37 +0000 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-01-19 20:27:37 +0000 |
commit | 27032a10e8c9234ee4444be206da7b568bfa872a (patch) | |
tree | 1ea57ffefa6cea47baacde5994a80fcff4f3a08d /doc | |
parent | aa100d108395640a1769158062f4123f135759f8 (diff) | |
download | vyos-cloud-init-27032a10e8c9234ee4444be206da7b568bfa872a.tar.gz vyos-cloud-init-27032a10e8c9234ee4444be206da7b568bfa872a.zip |
write the previous-hostname file to persistent cloud/data
This change just uses a different facility for coming up with the path.
But, by design I'm chosing to put 'previous-hostname' in
/var/lib/cloud/data/
rather than in
/var/lib/cloud/instance/data/
The idea is that if the user:
- started an instance
- modified /etc/hostname
- bundled instance (or create-image from it)
- started new instance
They would expect their modified /etc/hostname to persist. As such, the
previous-hostname file should be cross-instance data.
Bugs in this area include LP: #596993 and LP: #514492
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions