forked from rockyluke/drac-kvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathivkm_jnlp.go
59 lines (52 loc) · 1.8 KB
/
ivkm_jnlp.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package main
const ikvm169 = `
<jnlp spec="1.0+" codebase="https://{{ .Host }}:443/">
<information>
<title>ATEN Java iKVM Viewer</title>
<vendor>ATEN</vendor>
<description>Java Web Start Application</description>
</information>
<security>
<all-permissions/>
</security>
<resources>
<property name="jnlp.packEnabled" value="true"/>
<j2se version="1.6.0+" initial-heap-size="32M" max-heap-size="128M"/>
<jar href="iKVM__V1.69.21.0x0.jar" download="eager" main="true"/>
</resources>
<resources os="Windows" arch="x86">
<nativelib href="libwin_x86__V1.0.5.jar" download="eager"/>
</resources>
<resources os="Windows" arch="x86_64">
<nativelib href="libwin_x86_64__V1.0.5.jar" download="eager"/>
</resources>
<resources os="Windows" arch="amd64">
<nativelib href="libwin_x86_64__V1.0.5.jar" download="eager"/>
</resources>
<resources os="Linux" arch="i386">
<nativelib href="liblinux_x86__V1.0.5.jar" download="eager"/>
</resources>
<resources os="Linux" arch="x86">
<nativelib href="liblinux_x86__V1.0.5.jar" download="eager"/>
</resources>
<resources os="Linux" arch="x86_64">
<nativelib href="liblinux_x86_64__V1.0.5.jar" download="eager"/>
</resources>
<resources os="Linux" arch="amd64">
<nativelib href="liblinux_x86_64__V1.0.5.jar" download="eager"/>
</resources>
<resources os="Mac OS X" arch="x86_64">
<nativelib href="libmac_x86_64__V1.0.5.jar" download="eager"/>
</resources>
<application-desc main-class="tw.com.aten.ikvm.KVMMain">
<argument>{{ .Host }}</argument>
<argument>{{ .Username }}</argument>
<argument>{{ .Password }}</argument>
<argument>null</argument>
<argument>5900</argument>
<argument>623</argument>
<argument>2</argument>
<argument>0</argument>
</application-desc>
</jnlp>
`