aboutsummaryrefslogtreecommitdiff
path: root/dev/vagrant/bootstrap.sh
diff options
context:
space:
mode:
authorMartin André <m.andre@redhat.com>2015-11-01 21:29:36 +0900
committerMartin André <m.andre@redhat.com>2015-11-02 01:46:19 +0000
commit95517f01fc7d082e3a48a8e282854ea4d537760a (patch)
tree045525ee519153c08abd51a65ce1f1a92d3da8ca /dev/vagrant/bootstrap.sh
parent9bb405848932fcd97191a857cff2231239e904fe (diff)
downloadkolla-95517f01fc7d082e3a48a8e282854ea4d537760a.tar.gz
kolla-95517f01fc7d082e3a48a8e282854ea4d537760a.zip
Use default disk image size for centos/7
Latest centos/7 image from atlas now comes with 40 GB disk size which is equal to the virtual_size we specify in the Vagrantfile. Libvirt provider doesn't like it and produces an ugly stacktrace. The new default value now sufficient run kolla properly and we can remove the code that artificially increased the disk size. Change-Id: I7a645543cfcc027b4a3e0d02d8e7f436d8410ec5 Backport: Liberty Closes-Bug: #1511265
Diffstat (limited to 'dev/vagrant/bootstrap.sh')
-rw-r--r--dev/vagrant/bootstrap.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/dev/vagrant/bootstrap.sh b/dev/vagrant/bootstrap.sh
index dbe686043..14ea307dd 100644
--- a/dev/vagrant/bootstrap.sh
+++ b/dev/vagrant/bootstrap.sh
@@ -66,24 +66,6 @@ EOF
usermod -aG docker vagrant
}
-function resize_partition {
- fdisk /dev/vda <<EOF
-n
-p
-
-
-t
-
-8e
-w
-EOF
- partprobe
- pvcreate /dev/vda4
- vgextend VolGroup00 /dev/vda4
- lvextend /dev/VolGroup00/LogVol00 /dev/vda4
- resize2fs /dev/VolGroup00/LogVol00
-}
-
function configure_kolla {
# Use local docker registry
sed -i -r "s,^[# ]*namespace.+$,namespace = ${REGISTRY}/lokolla," /etc/kolla/kolla-build.conf
@@ -155,6 +137,5 @@ prep_work
install_docker
if [ "$1" = "operator" ]; then
- resize_partition
configure_operator
fi