summaryrefslogtreecommitdiff
path: root/tools/ds-identify
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2017-03-23 16:32:32 -0400
committerScott Moser <smoser@brickies.net>2017-03-24 15:16:29 -0400
commit20a628c122583e159782c88547128fec1983376c (patch)
treeb853b195aabdc5a5abb6062380ed4968f190c367 /tools/ds-identify
parent35cf3415f9748c880db4d3c004f3410c3aa2cab2 (diff)
downloadvyos-cloud-init-20a628c122583e159782c88547128fec1983376c.tar.gz
vyos-cloud-init-20a628c122583e159782c88547128fec1983376c.zip
ds-identify: fix detection of Bigstep datasource.
The path for checking presence of Bigstep datasource was simply wrong. Set the correct path. LP: #1674766
Diffstat (limited to 'tools/ds-identify')
-rwxr-xr-xtools/ds-identify3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ds-identify b/tools/ds-identify
index 6f1e983d..b3220c1f 100755
--- a/tools/ds-identify
+++ b/tools/ds-identify
@@ -633,7 +633,8 @@ dscheck_Azure() {
dscheck_Bigstep() {
# bigstep is activated by presense of seed file 'url'
- check_seed_dir "bigstep" url && return ${DS_FOUND}
+ [ -f "${PATH_VAR_LIB_CLOUD}/data/seed/bigstep/url" ] &&
+ return ${DS_FOUND}
return ${DS_NOT_FOUND}
}