Git Product home page Git Product logo

gns3-vm's Introduction

FOR DEVELOPMENT ONLY

Go to http://www.gns3.com if you are looking for the GNS3 VM. Otherwise GNS3 will not be included in the VM.

GNS3 VM

Build a GNS3 Virtual Machine

  • Support Qemu, dynamips, VPCS, IOU and Docker
  • It's based on a ubuntu-server LTS 14.04 64 bits
  • Support GNS3 update without losing your data
  • No need to release a new VM when a new release is out
  • By default you can use it in gns3 and access to the internet
  • The VM as Nat and HostOnly adapter
  • sudo is allowed without password
  • Default account: gns3 / gns3
  • A graphical interface allow gns3 management
  • GNS3 data are installed in /opt on a seperate disk
  • An optional eth2 is configured allowing user to add a bridge interface
  • A vde interface qemu0 for accessing to natted network from qemu

Building

You need to install packer before.

VirtualBox

Run:

./virtualbox.sh

This step will build the base VM as an OVA without install gns3 on it.

If you want to install GNS3 you need to unzip the OVA and run:

./release_virtualbox.sh 1.4.0 GNS3\ VM.ova

VMware

Run:

./vmware.sh

For exporting to OVA you need to install: https://my.vmware.com/web/vmware/details?downloadGroup=OVFTOOL400&productId=353

This step will build the base VM as an OVA without install gns3 on it.

If you want to install GNS3 you need to unzip the OVA and run:

./release_vmware.sh 1.4.0 GNS3\ VM.ova

Upload to ESXi

ovftool --allowAllExtraConfig -dm=thin  -ds=datastore1 "GNS3 VM.ova" "vi://root:PASSWORD@HOST"

Tools

ova.py

Show content of an ova file

workstation_to_esxi.py

Convert the ova from vmware workstation to esxi

last_vm_version.py

Get last vm version on Github

push_config_to_vm.sh

Sync local configuration via SSH to a VM. Use for testing modifications.

gns3-vm's People

Contributors

adosztal avatar el-virus avatar fuzzer11 avatar grossmj avatar hackinggate avatar julien-duponchelle avatar karnauskas avatar mend-for-github-com[bot] avatar sloanstar avatar ziajka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gns3-vm's Issues

Build the VM and after add GNS3

For speed up the build process and avoid problems we need to build a VM release in two steps.

  • Step 1 build the base VM without GNS3
  • Step 2 build the VM by adding GNS3

This will speedup the release process because we just need to add GNS3 and will avoid the need to debug the VM build for a minor release (I just lost a lot time due to an ubuntu mirror close from home out of sync...).

Allow a third network interface

Some users want to add a bridge interface. It's fine but by default GNS3 support only two interfaces in the /etc/network/interfaces file.

Blocked upgrade

I got stuck there when trying to upgrade the VM. Impossible to answer or exit.

blocked_upgrade

VMware build fails

Using packer 0.8.2: packer build -only=vmware-iso gns3.json

    vmware-iso: Cleaning up...
    vmware-iso: /tmp/script_7943.sh: line 150: syntax error near unexpected token `fi'
==> vmware-iso: Stopping virtual machine...
==> vmware-iso: Deleting output directory...
Build 'vmware-iso' errored: Script exited with non-zero exit status: 2

==> Some builds didn't complete successfully and had errors:
--> vmware-iso: Script exited with non-zero exit status: 2

==> Builds finished but no artifacts were created.

ovftool strips VT-x option

The virtualize VT-x option is not enabled when I import GNS3 VM.ova into VMware. It seems that ovftool strips the vhv.enable (VT-x virtualization) setting.

No way to go back to the information

Once you are on the main menu (Update, shell, version etc.) there is no way to display the information with the IP address, log in user/password etc.

Reboot loop

i am having trouble running the vm in my virtualbox.It just keep rebooting.what do i do?

VMware build fails with packer 0.8.1

 ~/Downloads/packer_0.8.1_linux_amd64/packer build -only=vmware-iso gns3.json
vmware-iso output will be in this color.

==> vmware-iso: Downloading or copying ISO
    vmware-iso: Downloading or copying: http://releases.ubuntu.com/14.04/ubuntu-14.04.2-server-amd64.iso
==> vmware-iso: Creating virtual machine disk
==> vmware-iso: Creating additional hard drives...
==> vmware-iso: Building and writing VMX file
==> vmware-iso: Starting HTTP server on port 8741
==> vmware-iso: Starting virtual machine...
==> vmware-iso: Waiting 15s for boot...
==> vmware-iso: Connecting to VM via VNC
==> vmware-iso: Error detecting host IP: exit status 1
==> vmware-iso: Stopping virtual machine...
==> vmware-iso: Deleting output directory...
Build 'vmware-iso' errored: Error detecting host IP: exit status 1

==> Some builds didn't complete successfully and had errors:
--> vmware-iso: Error detecting host IP: exit status 1

==> Builds finished but no artifacts were created.

Move the initial GNS3 install to a remote script

Actually the install setup a gns3-server via pip at startup. But for the alpha process we need to install a preversion via pip and put the VM in testing mode for upgrade.

The easiest way to do it is to move the script in the git and execute it from this location at startup.

Two small (potential) bugs

As I'm using linux, I don't need this GNS3 VM. But as I'm interesting how you make this VM I had a look at it. I think I found two small bugs in it:

http/preseed.cfg:
line 36: shouldn't it be fdisk /dev/sdb instead of /dev/sdb1 ?

scripts/provision.sh:
missing setcap for dynamips and iouyap

why not use LVM to create volumes?

Wouldn't it be nice If "opt" was installed using lvm as part of a volume group so that one could easily manage it i.e. modify size or attach another hdd? I had to use gparted on live cd to achieve the same on gns3 vm for opt and swap.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.