Add grains to a built image.