Commit Graph

47 Commits

Author SHA1 Message Date
grossmj
faf7e09ebb
Only use iptable to block xml.cisco.com on Ubuntu Focal. 2024-04-20 15:45:28 +07:00
grossmj
4959a51ce7
Block IOU phone home call using IPtable 2024-04-06 13:04:20 +07:00
Xatrekak
76bd5921c5 Fixed updating system and GNS3. 2023-11-06 19:02:29 -05:00
Dustin
cbc7e59d3f
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.
2023-10-30 11:00:45 -04:00
eantowne
791ce6a56e
Added declaration for in remote-install.sh to resolve 'unary operator operator expected' error 2023-03-23 07:59:20 -04:00
Xatrekak
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
Xatrekak
fac224ac48 Updated to latest welcome.py commit. Raw cache still bugged 2023-02-12 17:26:53 -05:00
Xatrekak
f98a60fc74 added an OS update to end when using welcome option 2023-02-12 14:42:53 -05:00
Xatrekak
42a5f1956e Changed mechanism used to set gns3 user password that works on all shells. 2023-02-12 14:21:01 -05:00
Xatrekak
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
Xatrekak
290df5290a fixed transcription 2023-02-12 02:48:17 -05:00
Xatrekak
fbe10360c2 Finished gns3 user setup 2023-02-12 02:44:15 -05:00
Xatrekak
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
Xatrekak
952b4e7249 fixed some shell bugs 2023-02-11 23:24:23 -05:00
Xatrekak
3b0336bd7e fixed typo 2023-02-11 22:23:45 -05:00
Xatrekak
7689b7841f switched to modifed welcome by and full path to it 2023-02-11 21:00:37 -05:00
Xatrekak
bf5970b904 Update install and welcome to support running it 2023-02-11 19:57:54 -05:00
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