diff options
author | Antti Myyrä <antti.myyra@gmail.com> | 2021-02-08 17:24:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 10:24:36 -0500 |
commit | 0497c7b1f752c7011006b36f9c07ac141c0bb3c2 (patch) | |
tree | df05d44e9347a0cf71e52e0f49ad3f4520d83c43 /tools/ds-identify | |
parent | 3a0a5894d112d667f313d7fb3ab0850a39bc3020 (diff) | |
download | vyos-cloud-init-0497c7b1f752c7011006b36f9c07ac141c0bb3c2.tar.gz vyos-cloud-init-0497c7b1f752c7011006b36f9c07ac141c0bb3c2.zip |
Datasource for UpCloud (#743)
New datasource utilizing UpCloud metadata API, including relevant unit
tests and documentation.
Diffstat (limited to 'tools/ds-identify')
-rwxr-xr-x | tools/ds-identify | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/ds-identify b/tools/ds-identify index 496dbb8a..2f2486f7 100755 --- a/tools/ds-identify +++ b/tools/ds-identify @@ -125,7 +125,7 @@ DI_DSNAME="" # be searched if there is no setting found in config. DI_DSLIST_DEFAULT="MAAS ConfigDrive NoCloud AltCloud Azure Bigstep \ CloudSigma CloudStack DigitalOcean AliYun Ec2 GCE OpenNebula OpenStack \ -OVF SmartOS Scaleway Hetzner IBMCloud Oracle Exoscale RbxCloud" +OVF SmartOS Scaleway Hetzner IBMCloud Oracle Exoscale RbxCloud UpCloud" DI_DSLIST="" DI_MODE="" DI_ON_FOUND="" @@ -883,6 +883,11 @@ dscheck_RbxCloud() { return ${DS_NOT_FOUND} } +dscheck_UpCloud() { + dmi_sys_vendor_is UpCloud && return ${DS_FOUND} + return ${DS_NOT_FOUND} +} + ovf_vmware_guest_customization() { # vmware guest customization |