Skip to content

devopsconsulting/vdt.cloud-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

vdt.cloud-init

Cloud init scripts for deployment.

How does it work?

Cloudinit is a script executed on boot once (when a new vm is created to setup the vm) and can communicate with cloud hypervisors like cloudstack, opencloud and others. However, cloudinit can also be used with "no cloud management vm's", like Xen or KVM. In this case you can use the "nocloud" plugin of cloudinit, and pass on some parameters to setup the VM using the kernel commandline. For example:

<cmdline>root=/dev/vda1 ro ds=nocloud-net;s=http://repos.devopsconsulting.nl:8080/vdt.cloud-init/cloud-init.cfg.d/vdt.cloudinit-</cmdline>

Then cloudinit will download two files:

  • vdt.cloudinit-metadata (used for general setup of the host)
  • vdt.cloudinit-userdata (used for customizing the host by it need)

See the example in this repository, or see also http://rwmj.wordpress.com/2013/12/10/creating-a-cloud-init-config-disk-for-non-cloud-boots/

About

Cloud init scripts for devops deployment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages