This commit is contained in:
parent
e5eaee0a40
commit
e25ea3197d
|
@ -52,7 +52,7 @@ grow_partition() {
|
||||||
# TODO: Try to replace the growpart to parted
|
# TODO: Try to replace the growpart to parted
|
||||||
wget https://git.launchpad.net/ubuntu/+source/cloud-utils/plain/bin/growpart -q
|
wget https://git.launchpad.net/ubuntu/+source/cloud-utils/plain/bin/growpart -q
|
||||||
if [ -e growpart ]; then
|
if [ -e growpart ]; then
|
||||||
sh ./growpart /dev/vda 3; rm growpart
|
sh ./growpart -q /dev/vda 3; rm growpart
|
||||||
else
|
else
|
||||||
tput setaf 1; echo "growpart couldn't be downloaded"
|
tput setaf 1; echo "growpart couldn't be downloaded"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue