move grub config to cloud.sh because it is only used for cloud images