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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59d087d2c96cae697809678db4a23fd693c287d3
|
4
|
+
data.tar.gz: 44a7cb8ea83816e34c19ba10873b24495f1069ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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: "
|
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
|
12
|
+
<%= label_tag(:response) %>
|
13
13
|
|
14
14
|
|