summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-07-07 11:26:37 -0400
committerScott Moser <smoser@ubuntu.com>2010-07-07 11:26:37 -0400
commitd76fbab6e770d5f93dab155030d9edb3ff583ea8 (patch)
tree851e97c85a982aace1dbdc3fd4ce8b1e46638fef /cloudinit
parent422f55437a773bf1896aa0d329f9079d885c5b62 (diff)
downloadvyos-cloud-init-d76fbab6e770d5f93dab155030d9edb3ff583ea8.tar.gz
vyos-cloud-init-d76fbab6e770d5f93dab155030d9edb3ff583ea8.zip
manage hostname setting better (LP: #596993)
On EBS instances, a shutdown and later start would end up with a different IP address. In the case where the user has not modified /etc/hostname from its original value (seeded by metadata's 'local-hostname'), then cloud-init will again set the hostname and update /etc/hostname. In the case where the user *has* modified /etc/hostname, it will remain user managed. Additionally, if /etc/cloud/cloud.cfg contains 'preserve_hostname' value set to a True value, then /etc/hostname will not ever be touched. LP: #596993
Diffstat (limited to 'cloudinit')
0 files changed, 0 insertions, 0 deletions