datasourcecloud-initcd-rom

Is there any way to make cloud-init get the datasource from the hard disk itself?


I was implementing the cloud-init feature in our product. i was assigned to implement this without using cd-rom (infact only from the hard disk itself). So is there any way for it?


Solution

  • Sure. You can use the NoCloud Datasource, which will look in /var/lib/cloud/seed without special configuration. See the seed example in the cloud-init sources.