Skip to content

HMoradiRad/cloud-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

cloud-init

cloud-init is a software package that automates the initialization of cloud instances during system boot. You can configure cloud-init to perform a variety of tasks. In order to be able to provide the functionality that it does, cloud-init must be integrated into the boot in fairly controlled way. There are five stages to boot:

  1. Generator

  2. Local

  3. Network

  4. Config

  5. Final

what is Qemu

Qemu is a cross-platform emulator capable of running performant virtual machines. Qemu is used at the core of a broad range of production operating system deployments and open source software projects (including libvirt, LXD, and vagrant) and is capable of running Windows, Linux, and Unix guest operating systems. While Qemu is flexibile and feature-rich, we are using it because of the broad support it has due to its broad adoption and ability to run on *nix-derived operating systems.

qemu-img command

qemu-img allows you to create, convert and modify images offline. It can handle all image formats supported by QEMU.

Warning: Never use qemu-img to modify images in use by a running virtual machine or any other process; this may destroy the image. Also, be aware that querying an image that is being modified by another process may encounter inconsistent state.

Get Start

To deploy script, you need kvm/qemu to install the required packages. you can see https://fabianlee.org/2018/08/27/kvm-bare-metal-virtualization-on-ubuntu-with-kvm/

sudo -i
git clone https://github.com/HMoradiRad/cloud-init.git
bash init.sh

How to contribute

All contributions are welcomed. If you find any bugs, please file an issue.

moradiradpv@gmail.com

About

load cloud init config in kvm machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages