summaryrefslogtreecommitdiffstats
path: root/xci/files/xci-lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xci/files/xci-lib.sh')
-rw-r--r--xci/files/xci-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/files/xci-lib.sh b/xci/files/xci-lib.sh
index fc6292a6..75e957f9 100644
--- a/xci/files/xci-lib.sh
+++ b/xci/files/xci-lib.sh
@@ -52,7 +52,7 @@ function bootstrap_xci_env() {
source "$XCI_PATH/xci/installer/${INSTALLER_TYPE}/env" &>/dev/null || true
# source xci configuration
source $XCI_PATH/xci/config/env-vars
- # source the baremetal variable
+ # baremetal variable to true if the vendor in the pdf is not libvirt
grep -o vendor.* ${PDF} | grep -q libvirt && export BAREMETAL=false || export BAREMETAL=true
}