===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
openstack-debian-images-1.51/build-openstack-debian-image-1968-	resize2fs -M /dev/mapper/${LOOP_DEVICE}
openstack-debian-images-1.51/build-openstack-debian-image:1969:	FS_BLOCKS=`tune2fs -l /dev/mapper/${LOOP_DEVICE} | awk '/Block count/{print $3}'`
openstack-debian-images-1.51/build-openstack-debian-image:1970:	WANTED_SIZE=`expr $FS_BLOCKS '*' 4 '/' 1024 + ${AUTOMATIC_RESIZE_SPACE}` # Add ${AUTOMATIC_RESIZE_SPACE}M
openstack-debian-images-1.51/build-openstack-debian-image-1971-	resize2fs /dev/mapper/${LOOP_DEVICE} ${WANTED_SIZE}M
openstack-debian-images-1.51/build-openstack-debian-image:1972:	FINAL_FS_BLOCKS=`tune2fs -l /dev/mapper/${LOOP_DEVICE} | awk '/Block count/{print $3}'`	
openstack-debian-images-1.51/build-openstack-debian-image-1973-fi
##############################################
openstack-debian-images-1.51/build-openstack-debian-image-1983-		# some blocks for mbr and multiple block size (4k)
openstack-debian-images-1.51/build-openstack-debian-image:1984:		FINAL_IMG_SIZE=`expr '(' $FINAL_FS_BLOCKS + 258 ')' '*' 4 '/' 1024`
openstack-debian-images-1.51/build-openstack-debian-image-1985-		# Rebuild a smaller partition table
##############################################
openstack-debian-images-1.51/build-openstack-debian-image-1989-		# Add 2M for the 1M at the beginning of the partition and some additional space
openstack-debian-images-1.51/build-openstack-debian-image:1990:		truncate -s `expr 3 + ${FINAL_IMG_SIZE}`M ${RAW_NAME}
openstack-debian-images-1.51/build-openstack-debian-image-1991-		install-mbr ${RAW_NAME}
##############################################
openstack-debian-images-1.51/examples/nfs-server/build-51-echo "Creating cinder disk out of the Glance image..."
openstack-debian-images-1.51/examples/nfs-server/build:52:IMAGE_ID=`glance image-list | grep "Wheezy NFS ${VERSION}" | awk '{print $2}'`
openstack-debian-images-1.51/examples/nfs-server/build-53-cinder create --image-id ${IMAGE_ID} --display-name "Wheezy NFS ${VERSION}" ${IMAGE_SIZE}
##############################################
openstack-debian-images-1.51/examples/nfs-server/build-57-echo -n "Waiting for Cinder image to become bootable."
openstack-debian-images-1.51/examples/nfs-server/build:58:CINDER_IMAGE_BOOTABLE=`cinder list | grep "Wheezy NFS 4" | awk '{print $14}'`
openstack-debian-images-1.51/examples/nfs-server/build-59-while [ "${CINDER_IMAGE_BOOTABLE}" != "true" ] ; do
##############################################
openstack-debian-images-1.51/examples/nfs-server/build-66-echo "Creating quantum static IP..."
openstack-debian-images-1.51/examples/nfs-server/build:67:SUBNET_ID=`quantum subnet-list | grep ${YOUR_NETWORK_IP} | awk '{print $2}'`
openstack-debian-images-1.51/examples/nfs-server/build:68:NET_ID=`quantum net-list | grep ${LOCAL_LAN_NAME} | awk '{print $2}'`
openstack-debian-images-1.51/examples/nfs-server/build-69-quantum port-create --fixed-ip subnet_id=${SUBNET_ID},ip_address=${NFS_SERVER_IP} ${NET_ID}
##############################################
openstack-debian-images-1.51/examples/nfs-server/build-72-echo "Booting instance..."
openstack-debian-images-1.51/examples/nfs-server/build:73:IP_ONE=`quantum port-list | grep ${NFS_SERVER_IP} | awk '{print $2}'`
openstack-debian-images-1.51/examples/nfs-server/build:74:BLOCK_DEV_ID=`nova volume-list | grep "Wheezy NFS ${VERSION}" | awk '{print $2}'`
openstack-debian-images-1.51/examples/nfs-server/build-75-nova boot --block_device_mapping vda=${BLOCK_DEV_ID}::5:False --flavor 3 --nic port-id=${IP_ONE} --key-name ${SSH_KEY_NAME} ${MY_HOSTNAME}