From a1461bd04c42426c3905acf3f01a901f420ad6ed Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Jan 2023 15:19:49 +0000 Subject: [PATCH] - add esxi template to use vmxnet3 NIC - update README.md --- README.md | 5 +++-- html/templates/intel/esxi.yml | 42 +++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 html/templates/intel/esxi.yml diff --git a/README.md b/README.md index 9ba82af..5c37506 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ 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 diff --git a/html/templates/intel/esxi.yml b/html/templates/intel/esxi.yml new file mode 100644 index 0000000..e9b3ef7 --- /dev/null +++ b/html/templates/intel/esxi.yml @@ -0,0 +1,42 @@ +# 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 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: VMWare ESXi +name: esxi +cpulimit: 1 +icon: ESXi.png +cpu: 2 +ram: 4096 +ethernet: 4 +console: vnc +qemu_nic: vmxnet3 +shutdown: 1 +qemu_arch: x86_64 +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 +...