summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authormichael pereira2011-04-21 15:55:59 +0200
committermichael pereira2011-04-21 15:55:59 +0200
commit4d141b993337331b61945cc02c43cb15d89714e9 (patch)
tree38e42801af6fee086771eca48ff44d2b668f1986 /scripts
parentconfig fix (diff)
downloadpbs2-4d141b993337331b61945cc02c43cb15d89714e9.tar.gz
pbs2-4d141b993337331b61945cc02c43cb15d89714e9.tar.xz
pbs2-4d141b993337331b61945cc02c43cb15d89714e9.zip
Preboot gefixt
Diffstat (limited to 'scripts')
-rw-r--r--scripts/api_bootos_test.html15
-rw-r--r--scripts/api_preboot_test.html7
2 files changed, 22 insertions, 0 deletions
diff --git a/scripts/api_bootos_test.html b/scripts/api_bootos_test.html
new file mode 100644
index 0000000..e48fb21
--- /dev/null
+++ b/scripts/api_bootos_test.html
@@ -0,0 +1,15 @@
+<form enctype='multipart/form-data' action='http://127.0.0.2/resource/addbootos/apikey/apikey1' method='POST'>
+Title:<input name='title' type='text'/>
+Description:<input name='description' type='text'/>
+Expires:<input name='expires' type='text'/>
+KCL:<input name='defaultkcl' type='text'/>
+Distro:<input name='distro' type='text'/>
+Distro-Version:<input name='distroversion' type='text'/>
+Share:<input name='share' type='text'/>
+Shortname:<input name='shortname' type='text'/>
+Config File:<input name='config' type='file'/>
+Kernel File:<input name='kernel' type='file'/>
+Init File:<input name='init' type='file'/>
+<input type='submit' value='Upload'/>
+</form>
+<style>input{display:block}</style>
diff --git a/scripts/api_preboot_test.html b/scripts/api_preboot_test.html
new file mode 100644
index 0000000..5c3805b
--- /dev/null
+++ b/scripts/api_preboot_test.html
@@ -0,0 +1,7 @@
+<form enctype='multipart/form-data' action='http://127.0.0.2/resource/addpreboot/apikey/apikey1' method='POST'>
+Title:<input name='title' type='text'/>
+Description:<input name='description' type='text'/>
+Preboot File:<input name='preboot' type='file'/>
+<input type='submit' value='Upload'/>
+</form>
+<style>input{display:block}</style>