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 %
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
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
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
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
> 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
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