summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/cinder-volume/files/create_img.sh
blob: b69db0ed1da05fcf7de6b26625fc5b0d85dbad7f (plain)
1
2
3
if [[ ! -f /var/cinder.img ]]; then
  dd if=/dev/zero of=/var/cinder.img bs=1 count=1 seek=$1
fi