]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Re-add --size to part line
authorZack Cerza <zack@redhat.com>
Tue, 2 Jun 2015 16:21:08 +0000 (10:21 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 2 Jun 2015 16:21:08 +0000 (10:21 -0600)
RHEL6 needs it and RHEL7 doesn't seem to mind.

Signed-off-by: Zack Cerza <zack@redhat.com>
roles/cobbler/templates/snippets/cephlab_rhel_disks

index 865ea9290c75faf8dd0c14f63c318383e9736f34..e5962a7d7c336b7bae6c2e0c3a17f023b61f584f 100644 (file)
@@ -2,8 +2,8 @@
 #set os_version = $getVar('os_version','')
 # Partition clearing information
 clearpart --all --initlabel
-# Use all of /dev/sda for the root partition
-part / --fstype="ext4" --ondisk=sda --grow
+# Use all of /dev/sda for the root partition (20G minimum)
+part / --fstype="ext4" --ondisk=sda --size=20000 --grow
 # Clear the Master Boot Record
 zerombr
 # System bootloader configuration