Change password on a guest vm with Cloudforms.

Solution Unverified - Updated -

Environment

  • Red Hat CloudForms 3.0

Issue

  • Through cloudforms is there a method for changing the root password on a Linux guest VM?

Resolution

  • Currently CloudForms does not ship with a method to be able to change a virtual machines password post provision or after the vm is completed and provisioned.

This is a task that can be developed by in the automate namespace and linked to a custom button & dialog on the virtual machine page.
For example you could use the ruby net/ssh gem (https://rubygems.org/gems/net-ssh) to perform commands inside of the virtual machine. This would only be valid if you had a common ssh key among virtual machines or templates

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.