aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/storage/files/create_img.sh
blob: 4b9ac5340f80985a5aaacbbbdf90d5ab9bb1b445 (plain)
1
2
3
4
seek_num=`echo $1 | sed -e 's/.* //g'`
if [[ ! -f /var/storage.img ]]; then
  dd if=/dev/zero of=/var/storage.img bs=1 count=0 seek=$seek_num
fi