Compare commits
7 Commits
f507fee7ef
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
94ceab64f0 | ||
| be332dc7eb | |||
| c3264bd0ba | |||
|
|
1a8a82c3af | ||
|
|
6cecd1d11e | ||
|
|
c9a9aa90f1 | ||
|
|
a1461bd04c |
@@ -1,5 +1,9 @@
|
||||
Misc scripts for eve-ng.
|
||||
* listimages2 -- this will produce a listing of all images on the server that are currently in use in a lab. Useful for cleaning up old versions of images.
|
||||
* Filebrowser role -- FileBrowser is a web-based upload and download tool. This will allow web-based uploading of images to the eve-ng server as opposed to using SCP/WinSCP. Uploading a folder with an image to the eve-ng server via this interface will automatically run the eve-ng commands (unl_wrapper -a fixpermissions) upon completion.
|
||||
* apt install ansible sshpass
|
||||
* ansible-playbook -i hosts filebrowser.yaml -kK
|
||||

|
||||
```
|
||||
apt install ansible sshpass
|
||||
ansible-playbook -i hosts filebrowser.yaml -kK
|
||||
```
|
||||
* html/templates/intel -- a few custom templates
|
||||
|
||||
0
config_scripts/config_opnsense.py
Executable file → Normal file
0
config_scripts/config_opnsense.py
Executable file → Normal file
BIN
docs/images/fielbrowser screen.png
Normal file
BIN
docs/images/fielbrowser screen.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
@@ -40,4 +40,7 @@ qemu_version: 4.1.0
|
||||
qemu_options: -machine pc,accel=kvm -serial none -nographic -no-user-config -nodefaults
|
||||
-display none -vga std -rtc base=utc -cpu host
|
||||
...
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
|
||||
>>>>>>> f507fee7efbfaeeb0fbb6ff339f1497ed0839eed
|
||||
|
||||
41
html/templates/intel/openwrt.yml
Normal file
41
html/templates/intel/openwrt.yml
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright (c) 2016, Andrea Dainese
|
||||
# Copyright (c) 2018, Alain Degreffe
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# * Neither the name of the UNetLab Ltd nor the name of EVE-NG Ltd nor the
|
||||
# names of its contributors may be used to endorse or promote products
|
||||
# derived from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
||||
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
---
|
||||
type: qemu
|
||||
description: OpenWRT
|
||||
name: OpenWRT
|
||||
cpulimit: 1
|
||||
icon: Router.png
|
||||
cpu: 2
|
||||
ram: 1024
|
||||
ethernet: 12
|
||||
console: vnc
|
||||
shutdown: 1
|
||||
qemu_arch: x86_64
|
||||
qemu_version: 2.12.0
|
||||
qemu_nic: virtio-net-pci
|
||||
qemu_options: -machine type=pc,accel=kvm -vga std -usbdevice tablet -boot order=cd
|
||||
...
|
||||
0
listimages
Executable file → Normal file
0
listimages
Executable file → Normal file
0
listimages2
Executable file → Normal file
0
listimages2
Executable file → Normal file
Reference in New Issue
Block a user