Commit Graph

45 Commits

Author SHA1 Message Date
6d97feaced Fixed updating system and GNS3. 2024-01-28 12:14:01 +11:00
6455f62447 Update remote-install.sh
Removed an extra slash at the end when setting the user home directory. This was causing unexpected behavior for other scrips as ~ was aliased to /opt/gns3/ instead of the expected  /opt/gns3.

This caused an extra / to appear in commands unexpectedly.
2024-01-28 12:13:55 +11:00
791ce6a56e Added declaration for in remote-install.sh to resolve 'unary operator operator expected' error 2023-03-23 07:59:20 -04:00
e257fb425e This commit is stacked and assumes welcome.py has already been merged into the GNS3 master repo 2023-02-12 18:30:01 -05:00
fac224ac48 Updated to latest welcome.py commit. Raw cache still bugged 2023-02-12 17:26:53 -05:00
f98a60fc74 added an OS update to end when using welcome option 2023-02-12 14:42:53 -05:00
42a5f1956e Changed mechanism used to set gns3 user password that works on all shells. 2023-02-12 14:21:01 -05:00
13df828ca7 switched to a direct link to the latest commit instead of the branch alias to bypass github raw caching issues. 2023-02-12 13:12:20 -05:00
290df5290a fixed transcription 2023-02-12 02:48:17 -05:00
fbe10360c2 Finished gns3 user setup 2023-02-12 02:44:15 -05:00
e44999f588 Refactored welcome.py to use a class so its functions would be callable by remote-install.sh. This ensure the setup uses the same IP address that will be displayed by Dialog. 2023-02-12 02:07:18 -05:00
952b4e7249 fixed some shell bugs 2023-02-11 23:24:23 -05:00
3b0336bd7e fixed typo 2023-02-11 22:23:45 -05:00
7689b7841f switched to modifed welcome by and full path to it 2023-02-11 21:00:37 -05:00
bf5970b904 Update install and welcome to support running it 2023-02-11 19:57:54 -05:00
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
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
aef8f0dff3 Use EnvironmentFile for Systemd service. Ref https://github.com/GNS3/gns3-gui/issues/3048 2020-11-02 18:23:41 +10:30
02c0fa26e1 Support controller reloading for templates, appliances and projects. Ref #1743 2020-04-30 15:30:50 +09:30
2fa2c715f5 Add LimitNOFILE=16384 to GNS3 service. Ref #1678 2019-11-07 16:28:47 +08:00
85582554ac Let systemd directly supervises the GNS3 service. Fixes #1678 2019-11-01 15:23:52 +08:00
8e90d79399 Upgrade remote install script to use any ubuntu codename. Fixes #1393. 2018-08-28 17:41:06 +07:00
78d0284247 Merge remote-tracking branch 'origin/master' 2018-08-28 17:27:18 +07:00
57cb457b5d Use port 80 for key server. 2018-08-28 17:27:08 +07:00
0bd7736460 Make sure we use an IPv4 address in the remote install script. 2018-03-08 21:09:00 +07:00
bd8816d14c Suspend for Docker nodes. 2018-01-18 11:43:04 +08:00
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
7d123f334f Add an appliance templates directory
Fix https://github.com/GNS3/gns3-gui/issues/2133
2017-07-19 11:44:05 +02:00
8bbe7e8041 Set correct permission on ubridge when doing a remote installation 2017-05-26 10:47:25 +02:00
c3d5abd104 Remote install script should be totally non interactive 2017-05-26 10:29:33 +02:00
b909ec978f Drop color logging for remote install, seem to fail in some conditions 2017-03-09 19:09:56 +01:00
cb338d9583 Cleanup the remote install script 2017-03-08 18:15:43 +01:00
bb45ff0d9a Support for Xenial in remote install
Fix #923
2017-03-08 15:58:28 +01:00
15babb137d Fix set hostname on remote server
Fix #691
2016-09-27 10:40:58 +02:00
eccee6b629 Support unstable ppa for remote install 2016-09-27 10:35:24 +02:00
871fea33e0 Cleanup unbreakable space 2016-05-18 11:23:45 +02:00
1d08d4a5fa Merge branch 'master' into 1.5 2016-04-26 11:49:24 +02:00
4afbf816ab Fix errors in remote install script 2016-04-14 16:20:13 +02:00
40aec61701 Ask user to reboot after the remote install script 2016-04-14 16:16:31 +02:00
f1737a6e43 Merge branch 'master' into 1.5 2016-04-07 14:44:56 +02:00
dc236eba09 Allow to add 32 bit repositories when they are not available on the system 2016-04-05 10:28:32 +02:00
c1193c23c1 Merge branch 'master' into 1.5 2016-03-29 09:20:43 +02:00
9f05b80d01 Add IOU support and install config in /etc 2016-03-25 19:08:14 +01:00
c563dbba8a Change default port to 3080
Fix #487
2016-03-25 15:31:17 +01:00
e35ab1e8c0 Remote install on 14.04 ubuntu 2016-03-21 14:52:42 +01:00