This project sets up a virtual Ubuntu desktop environment using Vagrant, provisioned with necessary tools and applications for testing the enrollment into Microsoft Intune. The virtual machine is configured to use VirtualBox as a provider.
The provisioning script installs Ubuntu desktop, VirtualBox guest utilities, Google Chrome, Microsoft Edge, Visual Studio Code, Microsoft Intune App, Microsoft Defender Endpoint, and Node.js. The script also configures the timezone and adds the default vagrant user to the admin group.
The project is intended to work on Windows, macOS, Linux, and within Windows Subsystem for Linux (WSL).
- Vagrant
- VirtualBox
- Internet connection (the VM requires access to the internet to download necessary packages and tools)
-
Clone this repository.
git clone https://github.com/your-repo/Ubuntu-Test-Device-for-Intune-Enrollment.git cd Ubuntu-Test-Device-for-Intune-Enrollment
-
Launch the Vagrant VM.
vagrant up
-
The GUI should automatically pop up. If not, open VirtualBox and start the VM manually.
-
SSH into the VM once it is up and running, if needed.
vagrant ssh
-
When finished, you can suspend the virtual machine by running:
vagrant suspend
Or, you can completely delete it with:
vagrant destroy
This Vagrant setup is configured to automatically display the graphical user interface (GUI) of the Ubuntu desktop environment when the VM starts. If the GUI does not automatically appear, follow these steps:
- Open the VirtualBox application on your host machine.
- Locate the VM named 'Ubuntu Desktop and Microsoft Intune app' in the list of virtual machines.
- Right-click on the VM and select "Start" and then "Normal Start".
- The GUI should now appear in a new window.
Vagrantfile
- This file contains the configuration settings for the Vagrant VM.scripts/ubuntu_config.sh
- This is the provisioning script that installs and configures the required tools and applications.
The VM is configured with a public network, allowing it to communicate with the internet.
The project directory is automatically synchronized to the /vagrant
directory inside the VM. You can change this by modifying the config.vm.synced_folder
setting in the Vagrantfile
.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome. Please submit a pull request or create an issue for any enhancements or fixes.