Commit Graph
99 Commits
Author SHA1 Message Date
Rarylson Freitas e5a76fcf44 Fix hostname inconsistencies during script execution
When `--with-iou` and `--with-openvpn` are both enabled, hostname
were updated in `/etc/hostname` but not on the running system (only
changed after reboot). So the old hostname were used in MOTD and
client OpenVPN config URL.
2021-08-01 17:49:27 -03:00
Rarylson Freitas d926a713b9 Add option --without-kvm
Some cloud providers (example, AWS EC2 for non-metal instances) do not
support nested virtualization, as well as some hypervisors (example,
VirtualBox prior to 6.x, Hyper-V on AMD). Option `--without-kvm` can
be used to disable hardware acceleration in these scenarios. Otherwise,
user will receive error when trying to start Qemu-based devices.

Commit also: replace `enable_kvm` and `require_kvm` with newer config
options (`enable_hardware_acceleration` and
`require_hardware_acceleration`); and do some code refactors.

One can argue that, instead of prividing option `--without-kvm`, we
should check if system supports KVM and enable/disable hardware
acceleration accordingly. However, there is the case when the
hypervisor supports nested virtualization, but feature is just disabled.
The chosen approach for this case is to keep KVM enabled and let user
known (user will eventually receive an error) so user can fix it.
Otherwise, user might never know and suffer from performance
degradation.
2021-08-01 17:47:28 -03:00
grossmj aef8f0dff3 Use EnvironmentFile for Systemd service. Ref https://github.com/GNS3/gns3-gui/issues/3048 2020-11-02 18:23:41 +10:30
grossmj d0487b92c5 Remove pyup and pep8 script. 2020-06-26 19:20:40 +09:30
grossmj 02c0fa26e1 Support controller reloading for templates, appliances and projects. Ref #1743 2020-04-30 15:30:50 +09:30
grossmj d5b6fda270 Remove --local when starting Docker dev server. 2020-03-26 12:06:05 +10:30
grossmj 2fa2c715f5 Add LimitNOFILE=16384 to GNS3 service. Ref #1678 2019-11-07 16:28:47 +08:00
grossmj 85582554ac Let systemd directly supervises the GNS3 service. Fixes #1678 2019-11-01 15:23:52 +08:00
grossmj 6a7d47ce97 Merge branch '2.2' 2019-07-12 12:07:44 +02:00
grossmj 63fb82a89d Remove deprecated Qemu parameter to run legacy ASA VMs. Fixes #2827 2019-07-10 11:33:04 +02:00
grossmj 9e54ab77d0 Merge 2.1 into 2.2 branch. 2019-06-15 15:26:20 +02:00
grossmj 54d50b2ef4 Set hkp protocol for keyserver in remote install script. Fixes #1596 2019-06-04 15:10:34 +02:00
grossmj 9e518412b3 Set keyserver port to 80 in remote install script. Fixes #1596 2019-06-04 15:03:28 +02:00
grossmj 5a62277819 Merging 2.2 into master 2019-05-24 15:27:07 +07:00
grossmj 22854f1baa Refresh documentation 2019-03-30 15:56:26 +07:00
ziajka 6a6cabc2d2 Bundle v2019.1.0-alpha.3 web-ui 2019-03-27 12:34:45 +01:00
ziajka 06a6abe687 Fetch tags for update-bundled-web-ui.sh 2019-03-22 14:12:51 +01:00
ziajka 55be74f93c Update docs for update-bundled-web-ui.sh 2019-03-14 10:33:35 +01:00
ziajka d64d7de541 Support tags versioned WebUI when bundling 2019-03-07 11:56:15 +01:00
ziajka f7d0f54b6d Use production env for bundled web-ui 2019-01-29 10:02:39 +01:00
grossmj f442c6e9e1 Sync appliances 2018-11-21 14:12:38 +07:00
grossmj ff5ba3742e Update API documentation for appliance endpoints. Ref https://github.com/GNS3/gns3-gui/issues/2630 2018-11-20 13:04:27 +07:00
grossmj 8e90d79399 Upgrade remote install script to use any ubuntu codename. Fixes #1393. 2018-08-28 17:41:06 +07:00
grossmj 78d0284247 Merge remote-tracking branch 'origin/master' 2018-08-28 17:27:18 +07:00
grossmj 57cb457b5d Use port 80 for key server. 2018-08-28 17:27:08 +07:00
grossmj 033f005bde Merge branch '2.1' into 2.2
# Conflicts:
#	gns3server/compute/docker/docker_vm.py
#	gns3server/version.py
2018-08-07 21:06:42 +07:00
ziajka 0e1f2e26d0 Serve WebUI handlers and update-bundled-web-ui script, Ref: #1362 2018-06-26 12:09:08 +02:00
ziajka 6dc2ae8641 Clear script 2018-06-22 15:30:24 +02:00
ziajka 867e997b74 Support /static/ files serving, Ref: #1362 2018-06-22 15:29:47 +02:00
grossmj 0f496907a0 Fix API status code for start/stop/suspend/reload a node. Fixes #1353.
Fix issues with test.
Update documentation.
2018-06-14 16:39:32 +08:00
grossmj 658aa4bae9 Merge 2.1 into 2.2 branch 2018-03-12 13:38:50 +07:00
grossmj 0bd7736460 Make sure we use an IPv4 address in the remote install script. 2018-03-08 21:09:00 +07:00
grossmj bd8816d14c Suspend for Docker nodes. 2018-01-18 11:43:04 +08:00
grossmj 3e2e8e61f7 New option: require KVM. If false, Qemu VMs will not be prevented to run without KVM. 2017-11-19 12:39:37 +07:00
Julien Duponchelle a0a7b0af10 Sync appliances 2017-07-24 10:39:06 +02:00
Julien Duponchelle 7d123f334f Add an appliance templates directory
Fix https://github.com/GNS3/gns3-gui/issues/2133
2017-07-19 11:44:05 +02:00
Julien Duponchelle a7170da93f Update bundled appliances 2017-06-26 11:00:55 +02:00
Julien Duponchelle 93adef91d8 Merge branch '2.0' into 2.1 2017-05-31 16:58:31 +02:00
Julien Duponchelle 89394ba7e0 Drop SSL support 2017-05-26 15:54:08 +02:00
Julien Duponchelle ef5c013561 Merge branch 'master' into 2.0 2017-05-26 10:47:57 +02:00
Julien Duponchelle 8bbe7e8041 Set correct permission on ubridge when doing a remote installation 2017-05-26 10:47:25 +02:00
Julien Duponchelle 777361c23d Merge branch 'master' into 2.0 2017-05-26 10:32:26 +02:00
Julien Duponchelle c3d5abd104 Remote install script should be totally non interactive 2017-05-26 10:29:33 +02:00
Julien Duponchelle a4245fcf44 Aiohttp 2.0
Ref #1000
2017-05-17 18:42:17 +02:00
Julien Duponchelle 4f1b738ef5 Merge branch '2.0' into 2.1 2017-03-30 10:16:16 +02:00
Julien Duponchelle 132bc87081 Dissallow parallel pull of docker images
Fix #962
2017-03-27 20:46:25 +02:00
Julien Duponchelle 25c4207661 Add a scripts for running current dev version on GNS3 VM 2017-03-27 17:13:07 +02:00
Julien Duponchelle 55b4e95396 Merge branch 'master' into 2.0 2017-03-09 19:10:29 +01:00
Julien Duponchelle b909ec978f Drop color logging for remote install, seem to fail in some conditions 2017-03-09 19:09:56 +01:00
Julien Duponchelle 21849656d1 Merge branch '2.0' into 2.1 2017-03-08 18:17:15 +01:00