主权项 |
1. A computer-implemented method for switching between distributions of an operating system when switching between multiple networks, the computer-implemented method comprising:
receiving, from a computing device connected to a first network of the networks and executing a first distribution of the distributions of the operating system corresponding to the first network an indication that the computing device is connected to a corporate Wi-Fi network of the networks, the corporate Wi-Fi network being controlled by a corporation, the corporate Wi-Fi network being different from the first network; determining, in response to receiving the indication, that the computing device is connected to the first network and the corporate Wi-Fi network; determining, in response to receiving the indication, an identity of a user associated with the computing device; confirming, using the identity of the user, that the user is an employee of the corporation; upon confirming that the user is the employee of the corporation, determining, based on a plurality of predefined policies for installing the distributions of the operating system, whether to install a second distribution of the distributions of the operating system on the computing device due to a connection to the corporate Wi-Fi network, the second distribution of the operating system specific to the corporate Wi-Fi network,
wherein the determining based on the predefined policies includes:determining whether the corporate Wi-Fi network has a higher priority than the first network, anddetermining that the corporate Wi-Fi network has a higher priority than the first network; responsive to a determination to install the second distribution of the operating system on the computing device, transmitting a location of a cloud storage service containing the second distribution of the operating system to the computing device; causing the computing device to retrieve the second distribution of the operating system from the cloud storage service using the location; causing the computing device to uninstall the first distribution of the operating system; causing the computing device to install the second distribution of the operating system in the computing device; causing the computing device to execute the second distribution of the operating system; determining whether the computing device is disconnected from the corporate Wi-Fi network; and responsive to a determination that the computing device is disconnected from the corporate Wi-Fi network but still connected to the first network, causing the computing device to uninstall the second distribution and install the first distribution. |