summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-02-04 17:06:20 -0500
committerScott Moser <smoser@ubuntu.com>2016-02-04 17:06:20 -0500
commit7d7861cbcd01e2c7a77ecdb207032363f92b0637 (patch)
tree140a9f3b9e679e670aeb98146353f86da930c98a /doc
parent8de3497e361c7d8050a232f4682988ed4ed59734 (diff)
parent75ba44d2730b89f13b2069961ea8de63f65ea780 (diff)
downloadvyos-cloud-init-7d7861cbcd01e2c7a77ecdb207032363f92b0637.tar.gz
vyos-cloud-init-7d7861cbcd01e2c7a77ecdb207032363f92b0637.zip
SmartOS: Add support for Joyent LX-Brand Zones
LX-brand zones on Joyent's SmartOS use a different metadata source (socket file) than the KVM-based SmartOS virtualization (serial port). This patch adds support for recognizing the different flavors of virtualization on SmartOS and setting up a metadata source file object. After the file object is created, the rest of the code for the datasource LP: #1540965
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/cloud-config-datasources.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-datasources.txt b/doc/examples/cloud-config-datasources.txt
index 3bde4aac..2651c027 100644
--- a/doc/examples/cloud-config-datasources.txt
+++ b/doc/examples/cloud-config-datasources.txt
@@ -51,12 +51,19 @@ datasource:
policy: on # [can be 'on', 'off' or 'force']
SmartOS:
+ # For KVM guests:
# Smart OS datasource works over a serial console interacting with
# a server on the other end. By default, the second serial console is the
# device. SmartOS also uses a serial timeout of 60 seconds.
serial_device: /dev/ttyS1
serial_timeout: 60
+ # For LX-Brand Zones guests:
+ # Smart OS datasource works over a socket interacting with
+ # the host on the other end. By default, the socket file is in
+ # the native .zoncontrol directory.
+ metadata_sockfile: /native/.zonecontrol/metadata.sock
+
# a list of keys that will not be base64 decoded even if base64_all
no_base64_decode: ['root_authorized_keys', 'motd_sys_info',
'iptables_disable']