summaryrefslogtreecommitdiffstats
path: root/templates/sysconfig/custom-upload.html
diff options
context:
space:
mode:
authorSimon Rettberg2014-05-15 18:28:24 +0200
committerSimon Rettberg2014-05-15 18:28:24 +0200
commit63c0cf521f8097b0dadaf1228176dc38c7d897f6 (patch)
tree83f5da6dc130ac7db575b0eee41ed6c7a2f994fb /templates/sysconfig/custom-upload.html
parentFix handle leak in downloading, better error reporting on failed downloads, a... (diff)
downloadslx-admin-63c0cf521f8097b0dadaf1228176dc38c7d897f6.tar.gz
slx-admin-63c0cf521f8097b0dadaf1228176dc38c7d897f6.tar.xz
slx-admin-63c0cf521f8097b0dadaf1228176dc38c7d897f6.zip
Working on config.tgz composition through config modules
Diffstat (limited to 'templates/sysconfig/custom-upload.html')
-rw-r--r--templates/sysconfig/custom-upload.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/sysconfig/custom-upload.html b/templates/sysconfig/custom-upload.html
new file mode 100644
index 00000000..2c0ff723
--- /dev/null
+++ b/templates/sysconfig/custom-upload.html
@@ -0,0 +1,16 @@
+<p>Über ein benutzerdefiniertes Modul ist es möglich, beliebige Dateien
+ zum Linux-Grundsystem, das auf den Clients gebootet wird, hinzuzufügen.
+ Dazu kann ein Archiv mit einer Dateisystemstruktur hochgeladen werden, die
+ in dieser Form 1:1 in das gebootete Linux extrahiert wird.</p>
+
+<p>Beispiel: Enthält das hochgeladene Archiv eine Datei <strong>etc/beispiel.conf</strong>,
+ so wird auf einem gebooteten Client diese Datei als <strong>/etc/beispiel.conf</strong> zu finden sein.</p>
+
+<form role="form" enctype="multipart/form-data" method="post" action="?do=sysconfig&amp;action=addmodule&amp;step={{step}}">
+ <div class="input-group">
+ <span class="input-group-addon">Archiv</span>
+ <input class="form-control" type="file" name="modulefile">
+ </div>
+ <p class="help-block">Unterstützte Archivformate: .tar.gz, .tar.bz2, .zip</p>
+ <button type="submit" class="btn btn-primary">Hochladen</button>
+</form> \ No newline at end of file