Skip to content

Commit

Permalink
Grow volumes on hardened overcloud-full image
Browse files Browse the repository at this point in the history
  • Loading branch information
olliewalsh committed Jun 7, 2023
1 parent 5a81803 commit e7df9b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/baremetalset/cloudinit/userdata
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ chpasswd:
bootcmd:
# fix BLS entries
- set -x; if [ -e /boot/loader/entries/ffffffffffffffffffffffffffffffff-* ]; then MACHINEID=$(cat /etc/machine-id) && rename "ffffffffffffffffffffffffffffffff" "$MACHINEID" /boot/loader/entries/ffffffffffffffffffffffffffffffff-* ; fi
runcmd:
# grow volumes on hardened image if command exists
- if [ -e /usr/local/sbin/growvols ]; then /usr/local/sbin/growvols --yes /=8GB /tmp=1GB /var/log=10GB /var/log/audit=2GB /home=1GB /var=100%; fi

0 comments on commit e7df9b6

Please sign in to comment.