summaryrefslogtreecommitdiff
path: root/tools/ds-identify
diff options
context:
space:
mode:
authorAdam Dobrawy <naczelnik@jawnosc.tk>2019-10-04 23:15:10 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-10-04 23:15:10 +0000
commitd3b1c4ae6bd237a04ba5df4306ff38f752f72132 (patch)
treea913a7416b6aeaa6428038f4f0d3253e02c4595c /tools/ds-identify
parenta7d8d032a65e807007f1467a9220b7f161625668 (diff)
downloadvyos-cloud-init-d3b1c4ae6bd237a04ba5df4306ff38f752f72132.tar.gz
vyos-cloud-init-d3b1c4ae6bd237a04ba5df4306ff38f752f72132.zip
Add RbxCloud datasource
Diffstat (limited to 'tools/ds-identify')
-rwxr-xr-xtools/ds-identify7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/ds-identify b/tools/ds-identify
index f76f2a6e..40fc0604 100755
--- a/tools/ds-identify
+++ b/tools/ds-identify
@@ -124,7 +124,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"
+OVF SmartOS Scaleway Hetzner IBMCloud Oracle Exoscale RbxCloud"
DI_DSLIST=""
DI_MODE=""
DI_ON_FOUND=""
@@ -702,6 +702,11 @@ dscheck_OpenNebula() {
return ${DS_NOT_FOUND}
}
+dscheck_RbxCloud() {
+ has_fs_with_label "CLOUDMD" "cloudmd" && return ${DS_FOUND}
+ return ${DS_NOT_FOUND}
+}
+
ovf_vmware_guest_customization() {
# vmware guest customization