diff --git a/devstack/tools/ironic/scripts/create-node.sh b/devstack/tools/ironic/scripts/create-node.sh index ce3ff1f238..e577f3cd20 100755 --- a/devstack/tools/ironic/scripts/create-node.sh +++ b/devstack/tools/ironic/scripts/create-node.sh @@ -51,7 +51,7 @@ if [ -n "$LOGDIR" ] ; then fi PREALLOC= -if [ -f /etc/debian_version && "$DISK_FORMAT" == "qcow2" ]; then +if [ -f /etc/debian_version -a "$DISK_FORMAT" == "qcow2" ]; then PREALLOC="--prealloc-metadata" fi