summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-07-25 14:37:10 -0400
committerScott Moser <smoser@ubuntu.com>2013-07-25 14:37:10 -0400
commit3d10b8d080a874be022f9e25063ba77f0293c5e8 (patch)
treee627fecd6647b907b50d6e4f30e9a2961ee3bb3f /doc/examples
parent8f3bfd9db16bfc6cd2acfb068b9ffe14ea1570d3 (diff)
downloadvyos-cloud-init-3d10b8d080a874be022f9e25063ba77f0293c5e8.tar.gz
vyos-cloud-init-3d10b8d080a874be022f9e25063ba77f0293c5e8.zip
azure: support bouncing interfaces to publish new hostname
See the added doc/sources/azure/README.rst for why this is necessary. Essentially, we now are doing the following in the get_data() method of azure datasource to publish this NewHostname: hostname NewHostName ifdown eth0; ifup eth0 LP: #1202758
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/cloud-config-datasources.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-datasources.txt b/doc/examples/cloud-config-datasources.txt
index a19353fc..6544448e 100644
--- a/doc/examples/cloud-config-datasources.txt
+++ b/doc/examples/cloud-config-datasources.txt
@@ -45,6 +45,11 @@ datasource:
Azure:
agent_command: [service, walinuxagent, start]
+ set_hostname: True
+ hostname_bounce:
+ interface: eth0
+ policy: on # [can be 'on', 'off' or 'force']
+ }
SmartOS:
# Smart OS datasource works over a serial console interacting with