diff options
author | Scott Moser <smoser@brickies.net> | 2017-03-27 12:43:15 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-03-27 16:43:25 -0400 |
commit | 328fe5ab399b1f5b48d1985f41fc2ef66e368922 (patch) | |
tree | 97408b3b7d18aa783d55d9f3c522026e661a326d /tools/hacking.py | |
parent | 21632972df034c200578e1fbc121a07f20bb8774 (diff) | |
download | vyos-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