as you saw in the previous article, the manual step would be:
to fix this, boot to a rescue CD (installation media) and then:
Launch GRUB by typing the following
Select the correct disk and fix the GRUB stages as follows
Reboot and be happy now :)
However, how can I automate this?
first, mount the disk image using vmware-mount utility from our mounted NAS filesystem...
then trick GRUB into thinking we have a block device
now run GRUB against this fake block device
and fix grub like you did before
umount the disk and your done!
Now to build the vCO workflow...





