1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-10-19 22:39:08 +00:00
Commit Graph

30 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
02c0fa26e1 Support controller reloading for templates, appliances and projects. Ref #1743 2020-04-30 15:30:50 +09: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
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
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
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
8bbe7e8041
Set correct permission on ubridge when doing a remote installation 2017-05-26 10:47:25 +02:00
Julien Duponchelle
c3d5abd104
Remote install script should be totally non interactive 2017-05-26 10:29:33 +02: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
cb338d9583
Cleanup the remote install script 2017-03-08 18:15:43 +01:00
Julien Duponchelle
bb45ff0d9a
Support for Xenial in remote install
Fix #923
2017-03-08 15:58:28 +01:00
Julien Duponchelle
15babb137d
Fix set hostname on remote server
Fix #691
2016-09-27 10:40:58 +02:00
Julien Duponchelle
eccee6b629
Support unstable ppa for remote install 2016-09-27 10:35:24 +02:00
Julien Duponchelle
871fea33e0
Cleanup unbreakable space 2016-05-18 11:23:45 +02:00
Julien Duponchelle
1d08d4a5fa
Merge branch 'master' into 1.5 2016-04-26 11:49:24 +02:00
Julien Duponchelle
4afbf816ab
Fix errors in remote install script 2016-04-14 16:20:13 +02:00
Julien Duponchelle
40aec61701
Ask user to reboot after the remote install script 2016-04-14 16:16:31 +02:00
Julien Duponchelle
f1737a6e43
Merge branch 'master' into 1.5 2016-04-07 14:44:56 +02:00
Julien Duponchelle
dc236eba09
Allow to add 32 bit repositories when they are not available on the system 2016-04-05 10:28:32 +02:00
Julien Duponchelle
c1193c23c1
Merge branch 'master' into 1.5 2016-03-29 09:20:43 +02:00
Julien Duponchelle
9f05b80d01
Add IOU support and install config in /etc 2016-03-25 19:08:14 +01:00
Julien Duponchelle
c563dbba8a
Change default port to 3080
Fix #487
2016-03-25 15:31:17 +01:00
Julien Duponchelle
e35ab1e8c0
Remote install on 14.04 ubuntu 2016-03-21 14:52:42 +01:00