theforeman/foreman — pull request #39 by blomquisg (2012-05-04 14:59:05+00:00)
Title: Fix for #1595

This pull request contains a fix for http://theforeman.org/issues/1595. This fix leaves behind an issue with ec2 (and probably also vmware and rhev) where the selected region is overwritten on each attempt to test the connection. This is due to the fact that the entire form is replaced by the result of test connection. This should probably either be changed to be a simple true/false json style response, or the returned HTML should include the pre-selected value for region.

This pull request also contains a change to lib/foreman/model/vmware.rb, removing the hardcoded hash for :vsphere_expected_pubkey_hash. I noticed that fog presented a very clear error message explaining uses should create a ~/.fog file containing their expected pubkey hash for invalid ssl certs (probably self-signed certs).