forked from srbala/fedora-kickstarts
atomic: extend the root filesystem to fill VG
With the change to using overlay in the root filesystem [1]. We
need to configure the cloud images to extend the root filesystem
by default [2]. Fixes [2]
[1] https://pagure.io/atomic-wg/issue/281
[2] https://pagure.io/atomic-wg/issue/343
(cherry picked from commit 97b0af5d00
)
This commit is contained in:
parent
afc2a37a1f
commit
d91769ea0b
@ -61,8 +61,10 @@ passwd -l root
|
|||||||
cp /etc/skel/.bash* /var/roothome
|
cp /etc/skel/.bash* /var/roothome
|
||||||
|
|
||||||
# Configure docker-storage-setup to resize the partition table on boot
|
# Configure docker-storage-setup to resize the partition table on boot
|
||||||
# https://github.com/projectatomic/docker-storage-setup/pull/25
|
# and extend the root filesystem to fill it.
|
||||||
|
# https://pagure.io/atomic-wg/issue/343
|
||||||
echo 'GROWPART=true' >> /etc/sysconfig/docker-storage-setup
|
echo 'GROWPART=true' >> /etc/sysconfig/docker-storage-setup
|
||||||
|
echo 'ROOT_SIZE=+100%FREE' >> /etc/sysconfig/docker-storage-setup
|
||||||
|
|
||||||
echo -n "Getty fixes"
|
echo -n "Getty fixes"
|
||||||
# although we want console output going to the serial console, we don't
|
# although we want console output going to the serial console, we don't
|
||||||
|
Loading…
Reference in New Issue
Block a user