openstack-manuals/doc/training-guides/training-labs/Scripts/Cinder/format_volumes.sh
Sean Roberts 7ec78aef2d changes the trunk location for the training guides
was incorrectly placed in trunk/training-guide non-plural, now trunk/training-guides.
also add redirect from trunk/openstack-training and trunk/training-guide to the
new location.

Change-Id: I0648a9604dc6a1d6c7480a90c07871608a8752ca
Closes-Bug: #1255684
2013-11-27 14:41:18 -08:00

30 lines
816 B
Bash

#!/bin/sh
#
# About:Setup Dependences for Virtual Box Sandbox
# meant for OpenStack Labs.
#
# Contact: pranav@aptira.com
# Copyright : Aptira @aptira,aptira.com
# License: Apache Software License (ASL) 2.0
###############################################################################
# #
# This Script will configure cinder volumes #
# #
###############################################################################
# Note: You DoNot Need Internet for this due to the magic of --download-only
echo "Enter Location of Disk To be used for formatting"
read $disk
# Assuming /dev/sdb for now
cat <<EOF | fdisk /dev/sdb
n
p
1
t
8e
w
EOF
partprobe