summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-09-01 02:17:54 -0700
committerRoss Brattain <ross.b.brattain@intel.com>2017-09-05 00:06:07 -0700
commit662f62ddce729ee1e019625c386a4298ee83bdb4 (patch)
tree6e0b24ae34296534e63073a27e4f46bc1542b50b /gui
parenta691427480c3a8cad60b275d47d7ddbde1c26f64 (diff)
ansible: resize VNF image
When compiling Trex, DPDK, collectd and all the SampleVNFs we use more than the 2.2GB size of the original Ubuntu cloud image. Accordingly we need to resize the image. If we were not inside a docker container we would use virt-resize to automatically handle all the cases, but virt-resize launches qemu. Instead we can use qemu-img to add extra space, then luckily we can use parted to resize the partition and finally resize2fs to resize the filesystem. This limits us to only ext3/4 images, but if we need to we could add support for other filesystems by checking file system type. Change-Id: Iac84b8e6967af5be64c280a7b1eaaf09f5d6b3aa Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'gui')
0 files changed, 0 insertions, 0 deletions