diff options
author | Robert Jennings <robert.jennings@canonical.com> | 2016-02-04 15:52:08 -0600 |
---|---|---|
committer | Robert Jennings <robert.jennings@canonical.com> | 2016-02-04 15:52:08 -0600 |
commit | 75ba44d2730b89f13b2069961ea8de63f65ea780 (patch) | |
tree | c8205805cc5320db39e9f80b267752767c36c50c /doc/examples | |
parent | f512c0126aac5c8708065c6e8aa5510f83574657 (diff) | |
download | vyos-cloud-init-75ba44d2730b89f13b2069961ea8de63f65ea780.tar.gz vyos-cloud-init-75ba44d2730b89f13b2069961ea8de63f65ea780.zip |
SmartOS: Add support for Joyent LX-Brand Zones (LP: #1540965)
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/examples')
-rw-r--r-- | doc/examples/cloud-config-datasources.txt | 7 |
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'] |