tuncfg.json is not used for tunnel setup of netmanager
Proposal
The tuncfg.json is copied to /etc/netmanager/ by the install.sh script.
On first impression, this configuration file sets the defaults for the tunnel to be set up by the netmanager, however, instead the netmanagers proxyTunnel is set up using os.getenv - so environment variables, which are not necessarily set up by the developer/host.
This renders the file useless.
Solution
Change the netmanager proxy tunnel setup to read configuration defaults from /etc/netmanager/tuncfg.json
or remove it from the setup and document it to use environment variables.
Short
tuncfg.json
is not used for tunnel setup of netmanagerProposal
The
tuncfg.json
is copied to/etc/netmanager/
by theinstall.sh
script. On first impression, this configuration file sets the defaults for the tunnel to be set up by the netmanager, however, instead the netmanagersproxyTunnel
is set up using os.getenv - so environment variables, which are not necessarily set up by the developer/host. This renders the file useless.Solution
Change the netmanager proxy tunnel setup to read configuration defaults from
/etc/netmanager/tuncfg.json
or remove it from the setup and document it to use environment variables.Status
Looking for feedback
Checklist