Assigning passwords to VMs

Hello,

We want to allow users to enter a password to assign to a VM as they create
that VM. How would we go about doing this?

We are using Chef for Provisioning and Configuration.
We have our compute node on Ubuntu/KVM

Any help would be highly appreciated.

Thanks in advance…

Regards,
Alex.

So, you use chef to provision vm’s via KVM?

Yes, Brian.

So, what we want to do is to have the user go thru chef to provision and configure VMs.

So, as the users do this, we want the user to have the ability to enter a password that will be assigned to the VM they are creating. No idea how to do this. If we can at least get an approach to how to go about doing this, that will be a good start.

Regards,
Alex.

— On Tue, 4/2/13, Brian Akins brian@akins.org wrote:

From: Brian Akins brian@akins.org
Subject: [chef] Re: Assigning passwords to VMs
To: “chef” chef@lists.opscode.com
Date: Tuesday, April 2, 2013, 5:46 PM

So, you use chef to provision vm’s via KVM?

Put it in json or a data-bag and use that during convergence. Write a
script to update said file.

Cheers,

AJ

On 4 April 2013 06:09, Alex Abraham abraham0508@yahoo.com wrote:

Yes, Brian.

So, what we want to do is to have the user go thru chef to provision and
configure VMs.

So, as the users do this, we want the user to have the ability to enter a
password that will be assigned to the VM they are creating. No idea how to
do this. If we can at least get an approach to how to go about doing this,
that will be a good start.

Regards,
Alex.

--- On Tue, 4/2/13, Brian Akins brian@akins.org wrote:

From: Brian Akins brian@akins.org
Subject: [chef] Re: Assigning passwords to VMs
To: "chef" chef@lists.opscode.com
Date: Tuesday, April 2, 2013, 5:46 PM

So, you use chef to provision vm's via KVM?

Ok, thanks, AJ…

— On Wed, 4/3/13, AJ Christensen aj@junglist.gen.nz wrote:

From: AJ Christensen aj@junglist.gen.nz
Subject: [chef] Re: Re: Re: Assigning passwords to VMs
To: “chef” chef@lists.opscode.com
Date: Wednesday, April 3, 2013, 3:04 PM

Put it in json or a data-bag and use that during convergence. Write a script to update said file.

Cheers,

AJ

On 4 April 2013 06:09, Alex Abraham abraham0508@yahoo.com wrote:

Yes, Brian.

So, what we want to do is to have the user go thru chef to provision and configure VMs.

So, as the users do this, we want the user to have the ability to enter a password that will be assigned to the VM they are creating. No idea how to do this. If we can at least get an approach to how to go about doing this, that will be a good start.

Regards,
Alex.

— On Tue, 4/2/13, Brian Akins brian@akins.org wrote:

From: Brian Akins brian@akins.org
Subject: [chef] Re: Assigning passwords to VMs
To: “chef” chef@lists.opscode.com
Date: Tuesday, April 2, 2013, 5:46 PM

So, you use chef to provision vm’s via KVM?