Re: [Openstack-operators] Problem creating resizable CentOS 6.5 image

2014-10-06 Thread Joe Topjian
gt;> To: "Robert van Leeuwen" >> Cc: openstack-operators@lists.openstack.org >> Sent: Friday, October 3, 2014 2:50:44 PM >> Subject: Re: [Openstack-operators] Problem creating resizable CentOS 6.5 >> image >> >> I use this snippet in my %

Re: [Openstack-operators] Problem creating resizable CentOS 6.5 image

2014-10-06 Thread Regan McDonald
a" > To: "Robert van Leeuwen" > Cc: openstack-operators@lists.openstack.org > Sent: Friday, October 3, 2014 2:50:44 PM > Subject: Re: [Openstack-operators] Problem creating resizable CentOS 6.5 > image > > I use this snippet in my %post section. I don't

Re: [Openstack-operators] Problem creating resizable CentOS 6.5 image

2014-10-06 Thread Robert Plestenjak
Try this: https://github.com/flegmatik/linux-rootfs-resize - Robert - Original Message - From: "Antonio Messina" To: "Robert van Leeuwen" Cc: openstack-operators@lists.openstack.org Sent: Friday, October 3, 2014 2:50:44 PM Subject: Re: [Openstack-operators] Proble

Re: [Openstack-operators] Problem creating resizable CentOS 6.5 image

2014-10-03 Thread Antonio Messina
I use this snippet in my %post section. I don't find it particularly elegant, but it works just fine: # Set up to grow root in initramfs cat << EOF > 05-grow-root.sh #!/bin/sh /bin/echo /bin/echo Resizing root filesystem /bin/echo "d n p 1 w " | /sbi

Re: [Openstack-operators] Problem creating resizable CentOS 6.5 image

2014-10-03 Thread Antonio Messina
I use this snippet in my %post section. I don't find it particularly elegant, but it works just fine: # Set up to grow root in initramfs cat << EOF > 05-grow-root.sh #!/bin/sh /bin/echo /bin/echo Resizing root filesystem /bin/echo "d n p 1 w " | /sbi

Re: [Openstack-operators] Problem creating resizable CentOS 6.5 image

2014-10-03 Thread Robert van Leeuwen
> When I launch the image with small flavor (20GB disk size), it's "/" > file system is 2GB large. In our experience (beginning of this year) the cloudinit did not work for re-sizing. I think a colleague fixed this by using dracut-modules-growroot and some scripting to resize. Cheers, Robert va

[Openstack-operators] Problem creating resizable CentOS 6.5 image

2014-10-03 Thread Alvise Dorigo
Hi, I'm creating an CentOS 6.5 image with OZ and following the guide here: http://docs.openstack.org/image-guide/content/ch_openstack_images.html In particular I made sure that the kickstart creates only one partition ( "/" ) which fills all the available initial image space. Then I made sure