Add mechanism to specify environment variables in kernel spec