#!/bin/bash # Modify this script to handle disk changes as needed. # This means the relevant parts of %post can be brought over and adapted. # example portions are commented out. set -x #diskname="$1" #devname="$2" #loopname="${devname%*p2}" #loopdev=/dev/${loopname#/dev/mapper/*}