Fix zconfig.sh partitioning error
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 24 Jan 2013 21:54:58 +0000 (13:54 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 24 Jan 2013 21:57:16 +0000 (13:57 -0800)
commite528c9b461df83eddc89c65d707d8674b4940314
tree2ebda60f9e8961328bd54c07812b5cf5144b26a6
parent563103decdca7c06850ca0909e5c8f8b4b0c0fe5
Fix zconfig.sh partitioning error

Parted version 3.0 doesn't allow us to specify the start and end
percentages as 50% and 100% respectively.  This results in:

  Error: The location 100% is outside the device /dev/zd0

Therefore we change the syntax to 51% and -1 for end of device.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
scripts/zconfig.sh