diff options
author | Brett Holman <bholman.devel@gmail.com> | 2022-03-14 18:30:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 12:30:36 -0500 |
commit | dd60d788c98eb0a27b7dff4bc2f6c45db5b5c03d (patch) | |
tree | 49b63f899a9309cce84f1bb750c8e1a561906904 | |
parent | be9389c62c6b7b2ecb5ea7cf7ffefc80a2d31210 (diff) | |
download | cloud-init-git-dd60d788c98eb0a27b7dff4bc2f6c45db5b5c03d.tar.gz |
Make fs labels match for ds-identify and docs (#1329)
- ConfigDrive datasource works with CONFIG-2, document it
- RbxCloud datasource works with cloudmd, document it
- OpenNebula datasource supports CDROM, but ds-identify doesn't check it
-rw-r--r-- | doc/rtd/topics/datasources/configdrive.rst | 2 | ||||
-rw-r--r-- | doc/rtd/topics/datasources/rbxcloud.rst | 10 | ||||
-rwxr-xr-x | tools/ds-identify | 2 |
3 files changed, 6 insertions, 8 deletions
diff --git a/doc/rtd/topics/datasources/configdrive.rst b/doc/rtd/topics/datasources/configdrive.rst index ecc37df6..ca18c640 100644 --- a/doc/rtd/topics/datasources/configdrive.rst +++ b/doc/rtd/topics/datasources/configdrive.rst @@ -58,7 +58,7 @@ Version 2 The following criteria are required to as a config drive: 1. Must be formatted with `vfat`_ or `iso9660`_ filesystem - or have a *filesystem* label of **config-2** + or have a *filesystem* label of **config-2** or **CONFIG-2** 2. The files that will typically be present in the config drive are: :: diff --git a/doc/rtd/topics/datasources/rbxcloud.rst b/doc/rtd/topics/datasources/rbxcloud.rst index c4b3f2d0..cbbf6900 100644 --- a/doc/rtd/topics/datasources/rbxcloud.rst +++ b/doc/rtd/topics/datasources/rbxcloud.rst @@ -12,14 +12,12 @@ user accounts and user metadata. Metadata drive -------------- -Drive metadata is a `FAT`_-formatted partition with the ```CLOUDMD``` label on -the system disk. Its contents are refreshed each time the virtual machine -is restarted, if the partition exists. For more information see -`HyperOne Virtual Machine docs`_. +Drive metadata is a `FAT`_-formatted partition with the ```CLOUDMD``` or +```cloudmd``` label on the system disk. Its contents are refreshed each time +the virtual machine is restarted, if the partition exists. For more information +see `HyperOne Virtual Machine docs`_. .. _HyperOne: http://www.hyperone.com/ .. _Rootbox: https://rootbox.com/ .. _HyperOne Virtual Machine docs: http://www.hyperone.com/ .. _FAT: https://en.wikipedia.org/wiki/File_Allocation_Table - -.. vi: textwidth=79 diff --git a/tools/ds-identify b/tools/ds-identify index 794a96f4..06cd58a0 100755 --- a/tools/ds-identify +++ b/tools/ds-identify @@ -884,7 +884,7 @@ dscheck_DigitalOcean() { dscheck_OpenNebula() { check_seed_dir opennebula && return ${DS_FOUND} - has_fs_with_label "CONTEXT" && return ${DS_FOUND} + has_fs_with_label "CONTEXT" "CDROM" && return ${DS_FOUND} return ${DS_NOT_FOUND} } |