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

766 views Asked by At

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?

1

There are 1 answers

1
larsks On BEST ANSWER

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.