diff --git a/zun/container/docker/host.py b/zun/container/docker/host.py index 9040d2007..2df213c54 100644 --- a/zun/container/docker/host.py +++ b/zun/container/docker/host.py @@ -78,7 +78,7 @@ class Host(object): try: cmd = "mount |grep $(df " + CONF.docker.docker_data_root + \ " |awk 'FNR==2 {print $1}') | grep 'xfs'" \ - " |grep 'pquota|prjquota'" + " |grep -E 'pquota|prjquota'" utils.execute(cmd, shell=True) except exception.CommandError: sp_disk_quota = False