summaryrefslogtreecommitdiff
path: root/tools/hacking.py
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2017-03-27 12:43:15 -0400
committerScott Moser <smoser@brickies.net>2017-03-27 16:43:25 -0400
commit328fe5ab399b1f5b48d1985f41fc2ef66e368922 (patch)
tree97408b3b7d18aa783d55d9f3c522026e661a326d /tools/hacking.py
parent21632972df034c200578e1fbc121a07f20bb8774 (diff)
downloadvyos-cloud-init-328fe5ab399b1f5b48d1985f41fc2ef66e368922.tar.gz
vyos-cloud-init-328fe5ab399b1f5b48d1985f41fc2ef66e368922.zip
GCE: Search GCE in ds-identify, consider serial number in check.
While documentation indicates that the smbios product name should contain 'Google Compute Engine', experimentation and bug reports indicate that is not always the case. The change here is to change the check for GCE to also consider a serial number that starts with 'GoogleCompute-'. Also, ds-identify was not currently searching for GCE if no config of datasource_list was found. Most images have a datasource_list defined. So update the list to include GCE. LP: #1674861
Diffstat (limited to 'tools/hacking.py')
0 files changed, 0 insertions, 0 deletions