diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-05-30 14:46:53 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-05-30 14:46:53 -0400 |
commit | 2d36a7ce4a0ccec3bd2881dd99d6d5012a85fe3c (patch) | |
tree | f03436881aad39ebd671569f930a9d020f83a151 /cloudinit/cs_utils.py | |
parent | 71d817c427f06e9e1f5d547d5db191e541963d31 (diff) | |
download | vyos-cloud-init-2d36a7ce4a0ccec3bd2881dd99d6d5012a85fe3c.tar.gz vyos-cloud-init-2d36a7ce4a0ccec3bd2881dd99d6d5012a85fe3c.zip |
minor cleanups.
* do not run dmidecode on arm.
* line length
* comment that 60 second time out is expected
Diffstat (limited to 'cloudinit/cs_utils.py')
-rw-r--r-- | cloudinit/cs_utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/cs_utils.py b/cloudinit/cs_utils.py index 1db3f110..dcf56431 100644 --- a/cloudinit/cs_utils.py +++ b/cloudinit/cs_utils.py @@ -35,8 +35,10 @@ import platform import serial +# these high timeouts are necessary as read may read a lot of data. READ_TIMEOUT = 60 WRITE_TIMEOUT = 10 + SERIAL_PORT = '/dev/ttyS1' if platform.system() == 'Windows': SERIAL_PORT = 'COM2' |