just a quick test on a stock image that the read_dmi-data was right: p[ytroot@smtest1 ~ # python3 Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from cloudinit import util >>> util.read_dmi_data('system-manufacturer') == "Hetzner" True >>> print(open("/run/cloud-init/ds-identify.log").read()) [up 5.46s] ds-identify policy loaded: mode=report report=false found=all maybe=all notfound=enabled /etc/cloud/cloud.cfg.d/99-hetznercloud.cfg set datasource_list: [ Hetzner, None ] DMI_PRODUCT_NAME=vServer DMI_SYS_VENDOR=Hetzner DMI_PRODUCT_SERIAL=588983 DMI_PRODUCT_UUID=A2BD0993-FC53-454F-ADDD-EAC00C158848 PID_1_PRODUCT_NAME=unavailable DMI_CHASSIS_ASSET_TAG= FS_LABELS= ISO9660_DEVS= KERNEL_CMDLINE=BOOT_IMAGE=/boot/vmlinuz-4.4.0-116-generic root=UUID=3f234dd2-63e6-4676-8ef3-0cde83e52484 ro consoleblank=0 systemd.show_status=true elevator=noop console=tty1 console=ttyS0 VIRT=kvm UNAME_KERNEL_NAME=Linux UNAME_KERNEL_RELEASE=4.4.0-116-generic UNAME_KERNEL_VERSION=#140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 UNAME_MACHINE=x86_64 UNAME_NODENAME=Ubuntu-1604-xenial-64-minimal UNAME_OPERATING_SYSTEM=GNU/Linux DSNAME= DSLIST=Hetzner None MODE=report ON_FOUND=all ON_MAYBE=all ON_NOTFOUND=enabled pid=643 ppid=628 is_container=false single entry in datasource_list (Hetzner None) use that. [up 5.52s] returning 0
-- https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/342226 Your team cloud-init commiters is requested to review the proposed merge of ~smoser/cloud-init:fix/hetzner-ds-check-vendor into cloud-init:master. _______________________________________________ Mailing list: https://launchpad.net/~cloud-init-dev Post to : cloud-init-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~cloud-init-dev More help : https://help.launchpad.net/ListHelp