summaryrefslogtreecommitdiff
path: root/templates/sources.list.debian.tmpl
diff options
context:
space:
mode:
authorMike Gerdts <mike.gerdts@joyent.com>2018-04-23 09:29:39 -0400
committerScott Moser <smoser@brickies.net>2018-04-23 09:29:39 -0400
commit4ed164592fe8cb15758cacf3cb3f8c7d5ab7c82e (patch)
tree5221b585bbeec35b46140b09f4e4396bab53503a /templates/sources.list.debian.tmpl
parent23479881f51bae7a3f5743ce677ed82317ea8b9f (diff)
downloadcloud-init-git-4ed164592fe8cb15758cacf3cb3f8c7d5ab7c82e.tar.gz
DataSourceSmartOS: add locking of serial device.
cloud-init and mdata-get each have their own implementation of the SmartOS metadata protocol. If cloud-init and other services that call mdata-get are run concurrently, crosstalk on the serial port can cause them both to become confused. This change makes it so that cloud-init uses the same cooperative locking scheme that's used by mdata-get, thus preventing cross-talk between mdata-get and cloud-init. For testing, a VM running on a SmartOS host and pyserial are required. If the tests are run on a platform other than SmartOS, those that use a real serial port are skipped. pyserial remains commented in requirements.txt because most testers will not be running atop SmartOS. LP: #1746605
Diffstat (limited to 'templates/sources.list.debian.tmpl')
0 files changed, 0 insertions, 0 deletions