<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/tools/ds-identify, branch 20.4</title>
<subtitle> (mirror of https://github.com/vyos/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=20.4</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=20.4'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2020-11-06T18:49:05+00:00</updated>
<entry>
<title>replace usage of dmidecode with kenv on FreeBSD (#621)</title>
<updated>2020-11-06T18:49:05+00:00</updated>
<author>
<name>Mina Galić</name>
<email>me+git@igalic.co</email>
</author>
<published>2020-11-06T18:49:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=d83c0bb4baca0b57166a74055f410fa4f75a08f5'/>
<id>urn:sha1:d83c0bb4baca0b57166a74055f410fa4f75a08f5</id>
<content type='text'>
FreeBSD lets us read out kernel parameters with kenv(1), a user-space
utility that's shipped in "base" We can use it in place of dmidecode(8),
thus removing the dependency on sysutils/dmidecode, and the restrictions
to i386 and x86_64 architectures that this utility imposes on FreeBSD.

Co-authored-by: Scott Moser &lt;smoser@brickies.net&gt;</content>
</entry>
<entry>
<title>split read_fs_info into linux &amp; freebsd parts (#625)</title>
<updated>2020-11-04T14:49:34+00:00</updated>
<author>
<name>Mina Galić</name>
<email>me+git@igalic.co</email>
</author>
<published>2020-11-04T14:49:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=cf6c36a18de233190996f7c2dde1e04908bad50a'/>
<id>urn:sha1:cf6c36a18de233190996f7c2dde1e04908bad50a</id>
<content type='text'>
FreeBSD doesn't have blkid, so we want to use geom to list devices and
their fstypes and labels.

This PR also adds `jail` to the list of is_container()
And we now also properly cache geom and blkid output!

A test is added to verify the new behaviour by correctly identifying
NoCloud on FreeBSD.

Co-authored-by: Scott Moser &lt;smoser@brickies.net&gt;</content>
</entry>
<entry>
<title>Recognize LABEL_FATBOOT labels (#513)</title>
<updated>2020-08-07T15:19:09+00:00</updated>
<author>
<name>James Falcon</name>
<email>TheRealFalcon@users.noreply.github.com</email>
</author>
<published>2020-08-07T15:19:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=c068f992c3905d07732dafa6eb61c1ae3aa65916'/>
<id>urn:sha1:c068f992c3905d07732dafa6eb61c1ae3aa65916</id>
<content type='text'>
Update DataSourceNoCloud and ds-identify to recognize LABEL_FATBOOT labels from blkid.
Also updated associated tests.

LP: #1841466</content>
</entry>
<entry>
<title>Identify SAP Converged Cloud as OpenStack</title>
<updated>2020-03-26T21:15:37+00:00</updated>
<author>
<name>Silvio Knizek</name>
<email>killermoehre@gmx.net</email>
</author>
<published>2020-03-26T21:15:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=7f9f33dbb08bacaa49244e857847400ad8a67ad4'/>
<id>urn:sha1:7f9f33dbb08bacaa49244e857847400ad8a67ad4</id>
<content type='text'>
add SAP Converged Cloud as cloud provider</content>
</entry>
<entry>
<title>ds_identify: if /sys is not available use dmidecode (#42)</title>
<updated>2019-12-12T00:32:14+00:00</updated>
<author>
<name>Igor Galić</name>
<email>me+github@igalic.co</email>
</author>
<published>2019-12-12T00:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=11ef73e9500dcb325be85f8099a42d8d2e4caf95'/>
<id>urn:sha1:11ef73e9500dcb325be85f8099a42d8d2e4caf95</id>
<content type='text'>
On non-Linux systems, `/sys` won't be available. In these cases, we can query `dmidecode(8)` directly.  This PR implements a dmi_decode function to query the same fields ds-identify
would otherwise read from /sys.  This path is taken when /sys isn't present.  In addition to
adding dmidecode support, non-Linux systems also need to map in virtualization detection
as systemd-detect-virt is not present; on FreeBSD, use sysctl kern.vm_guest and provide a
mapping[1] between BSD values and those that match with systemd-detect-virt[2].

1. https://github.com/freebsd/freebsd/blob/master/sys/kern/subr_param.c#L149-L157
2. https://www.freedesktop.org/software/systemd/man/systemd-detect-virt.html

LP: #1852442</content>
</entry>
<entry>
<title>Add Support for e24cloud to Ec2 datasource.</title>
<updated>2019-10-11T14:54:49+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2019-10-11T14:54:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=7d5d34f3643a2108d667759f57a5ab63d0affadd'/>
<id>urn:sha1:7d5d34f3643a2108d667759f57a5ab63d0affadd</id>
<content type='text'>
e24cloud provides an EC2 compatible datasource.
This just identifies their platform based on dmi 'system-vendor'
having 'e24cloud'.  https://www.e24cloud.com/en/ .
Updated chassis typo in zstack unit test docstring.

LP: #1696476
</content>
</entry>
<entry>
<title>Add RbxCloud datasource</title>
<updated>2019-10-04T23:15:10+00:00</updated>
<author>
<name>Adam Dobrawy</name>
<email>naczelnik@jawnosc.tk</email>
</author>
<published>2019-10-04T23:15:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=d3b1c4ae6bd237a04ba5df4306ff38f752f72132'/>
<id>urn:sha1:d3b1c4ae6bd237a04ba5df4306ff38f752f72132</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add datasource for ZStack platform.</title>
<updated>2019-09-18T13:15:25+00:00</updated>
<author>
<name>Shixin Ruan</name>
<email>matboy_80@aliyun.com</email>
</author>
<published>2019-09-18T13:15:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=571f7c36e89f67f4c2d1cacfd8f9269bf864d560'/>
<id>urn:sha1:571f7c36e89f67f4c2d1cacfd8f9269bf864d560</id>
<content type='text'>
Zstack platform provides a AWS Ec2 metadata service, and
identifies their platform to the guest by setting the 'chassis asset tag'
to a string that ends with '.zstack.io'.

LP: #1841181
</content>
</entry>
<entry>
<title>Brightbox: restrict detection to require full domain match .brightbox.com</title>
<updated>2019-09-11T21:09:34+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2019-09-11T21:09:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=e7f16e215ef4fd6a31ddd2f1b585bbb6508bff06'/>
<id>urn:sha1:e7f16e215ef4fd6a31ddd2f1b585bbb6508bff06</id>
<content type='text'>
The detection for brightbox in both ds-identify and in
identify_brightbox would incorrectly match the domain 'bobrightbox',
which is not a brightbox platform.  The fix here is to restrict
matching to '*.brightbox.com' rather than '*brightbox.com'

Also, while here remove a url to bug 1661693 which added the
knowledge of brightbox.
</content>
</entry>
<entry>
<title>New data source for the Exoscale.com cloud platform</title>
<updated>2019-08-08T17:09:57+00:00</updated>
<author>
<name>Chris Glass</name>
<email>christopher.glass@exoscale.ch</email>
</author>
<published>2019-08-08T17:09:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=4dfed67d0e82970f8717d0b524c593962698ca4f'/>
<id>urn:sha1:4dfed67d0e82970f8717d0b524c593962698ca4f</id>
<content type='text'>
- dsidentify switches to the new Exoscale datasource on matching DMI name
- New Exoscale datasource added

Signed-off-by: Mathieu Corbin &lt;mathieu.corbin@exoscale.ch&gt;
</content>
</entry>
</feed>
