summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/ds-identify3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/ds-identify b/tools/ds-identify
index 88094af7..e454ed6d 100755
--- a/tools/ds-identify
+++ b/tools/ds-identify
@@ -514,6 +514,9 @@ dscheck_MAAS() {
dscheck_NoCloud() {
local fslabel="cidata" d=""
+ case " ${DI_KERNEL_CMDLINE} " in
+ *\ ds=nocloud*) return ${DS_FOUND};;
+ esac
for d in nocloud nocloud-net; do
check_seed_dir "$d" meta-data user-data && return ${DS_FOUND}
done