I've never used Azure but this looks like what you want: https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/
On 18 April 2017 at 03:42, Madhava Rao <[email protected]> wrote: > Could you please point to some links on how it can done through Azure? > > Thanks, > > On Thursday, April 13, 2017 at 2:05:37 PM UTC-4, Dick Davies wrote: >> >> Are you able to modify the VM templates? That would be simplest. >> Depending on your virtualiser there is usually a way to run a 'first boot' >> step >> on newly created VMs; that might be another way to get the initial pubkey >> (that Ansible will use) installed. >> >> On 13 April 2017 at 03:23, Madhava Rao <[email protected]> wrote: >> > Hi, >> > >> > I'm automating a QA environment which involves provisioning VM's on the >> > cloud and installation of Kubernetes cluster. I'm able to install and >> > configure Kubernetes on the VM's after provisioning thanks to the >> > Kubernetes >> > Contrib. >> > >> > I would like to know how I can provision a VM, copy the public keys to >> > the >> > VM created, and proceed with the installation of Kubernetes without >> > manual >> > intervention. Currently I can't figure out a way in which I can copy the >> > ssh >> > keys to the provisioned VM without the password prompt. Any directions >> > on >> > how to achieve this would be very helpful. >> > >> > Thanks, >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Ansible Project" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to [email protected]. >> > To post to this group, send email to [email protected]. >> > To view this discussion on the web visit >> > >> > https://groups.google.com/d/msgid/ansible-project/8ac66980-9292-40ef-98a7-89d095e64ce4%40googlegroups.com. >> > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAK5eLPRad%2BddEbGHomGxpGo9%2BYCw2rSind80MMFQav%3DcE8Q%3DxA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
