foreman_proxmox 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd3d37aa77a0c59fdc03639475d349e933d007c1
4
- data.tar.gz: 3e915866bb9f4672f233263ca4dbfde32d100dec
3
+ metadata.gz: 59d087d2c96cae697809678db4a23fd693c287d3
4
+ data.tar.gz: 44a7cb8ea83816e34c19ba10873b24495f1069ff
5
5
  SHA512:
6
- metadata.gz: faec5e9286011211ac532bc04e484423181695165cc7ab376cdbf1edf07e3a43eb5488ee0f0451e5d096de380bf1a87c344082b802bc809fbec6d4f23d885bf4
7
- data.tar.gz: 7a3a601e808614a7e5772b4d368ac2f8074d370652c32cbcd2783c71d976e946893298a2dfd657748517cdf381d53c8d1d9ec1fe9fbde5e974a6a344cd5deed5
6
+ metadata.gz: 026771349b21a35f750c50ce588a23c3919d7e8c31774c0fa0a3af18b31f0ebee89f22108c3eead292dc93d09bcecdf6963e9aa4b037749336b4b9f3e03e75a9
7
+ data.tar.gz: 481edf6512d087027b7c5609fd4b4fe05e10aeef309fb637884eeafa12c48773b5c0d7b69051439bb5acfd9a1b7c21f2365827a1a4f90d88b0db7b8e269fa51f
@@ -14,7 +14,7 @@ module ForemanProxmox
14
14
  @proxmoxip = params[:proxmoxip]
15
15
  @proxmoxuser = params[:proxmoxuser]
16
16
  @proxmoxpassword = params[:proxmoxpassword]
17
- @response = RestClient.post 'http://'+@proxmoxip+':8006/api2/json/access/ticket', {:params => {:username => @proxmoxuser, :password => @proxmoxpassword}}
17
+ @response = RestClient.post 'http://'+@proxmoxip+':8006/api2/json/access/ticket', {:params => {:username => @proxmoxuser+'@pam', :password => @proxmoxpassword}}
18
18
  end
19
19
  end
20
20
  end
@@ -1,6 +1,6 @@
1
1
  Welcome to <b>ForemanProxmox</b>
2
2
  Connect to your Proxmox-server here.
3
- <%= form_tag("/intializeProxmox", method: "get") do %>
3
+ <%= form_tag("/intializeProxmox", method: "post") do %>
4
4
  <%= label_tag(:proxmoxip, "Proxmox-server IP:") %>
5
5
  <%= text_field_tag(:proxmoxip) %>
6
6
  <%= label_tag(:proxmoxuser, "Proxmox-username:") %>
@@ -9,6 +9,6 @@ Connect to your Proxmox-server here.
9
9
  <%= password_field_tag(:proxmoxpassword) %>
10
10
  <%= submit_tag("Connect") %>
11
11
  <% end %>
12
- <%= label_tag(:response, @response) %>
12
+ <%= label_tag(:response) %>
13
13
 
14
14
 
@@ -1,3 +1,3 @@
1
1
  module ForemanProxmox
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_proxmox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Isensee