summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/examples/cloud-config-datasources.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/examples/cloud-config-datasources.txt b/doc/examples/cloud-config-datasources.txt
index fbabcad9..9f0ac386 100644
--- a/doc/examples/cloud-config-datasources.txt
+++ b/doc/examples/cloud-config-datasources.txt
@@ -45,4 +45,16 @@ datasource:
Azure:
agent_command: [service, walinuxagent, start]
-
+
+ SmartOS:
+ Smart OS provisions via a serial console actings a server. By default,
+ the second serial console is the device. SmartOS also uses a serial
+ timeout of 60 seconds, although that should never be hit.
+
+ serial device: /dev/ttyS1
+ serial timeout: 60
+
+ To change the defaults, you can define it via a cloud-config by creating
+ a .cfg file in /etc/cloud/cloud.cfg.d with the following:
+ serial_device: /dev/ttyS1
+ serial_timeout: 30