QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
539 stars 48 forks source link

way to find out the name of gateway from inside the VM - qubesdb-read /qubes-gateway-name #4117

Open adrelanos opened 6 years ago

adrelanos commented 6 years ago

feature request:

qubesdb-read /qubes-gateway-name

Required for sdwdate-gui-qubes and multiple gateways such as sys-whonix, sys-whonix-2, etc.

Reference: https://phabricator.whonix.org/T534#16397

adrelanos commented 5 years ago

instructions to use multiple Qubes-Whonix-Workstation VMs had to be updated (and complicated) due to this. Addition:

If the AppVM is connected to any Whonix-Gateway other than sys-whonix, apply the following instructions.

{{CodeSelect|code= sudo mkdir -p /usr/local/etc/sdwdate-gui.d }}

{{Open with root rights|filename= /usr/local/etc/sdwdate-gui.d/50_user.conf }}

Add the following text -- replace sys-whonix2 with the name of the VM of the other Whonix-Gateway.

{{CodeSelect|code= gateway=sys-whonix2 }}

'''4.''' Save the file.