1. A system for upgrading kernels in cloud computing environments, comprising: a cloud computing environment having a plurality of physical resources; a trusted repository that contains a plurality of kernel modules; and a cloud image hosted on one or more of the plurality of physical resources in the cloud computing environment, the cloud image including a root file system, a kernel, and a ramdisk, wherein the ramdisk includes computer executable instructions configured to: identify an operating system release associated with the kernel; retrieve one or more of the plurality of kernel modules from the trusted repository in response to determining that the root file system does not contain a directory hierarchy matching the identified operating system release; create the directory hierarchy matching the identified operating system release in the root file system in response to determining that the root file system does not contain the directory hierarchy matching the identified operating system release; and inject the one or more kernel modules retrieved from the trusted repository within the directory hierarchy created in the root file system, wherein the injected kernel modules support the operating system release associated with the kernel.