lab:ansible_virtualbox_autoboot_linux:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lab:ansible_virtualbox_autoboot_linux:start [2024/01/23 03:49] – [Install Packages and Create Keys for Ansible Management] user | lab:ansible_virtualbox_autoboot_linux:start [2024/05/10 05:14] (current) – moved user | ||
---|---|---|---|
Line 17: | Line 17: | ||
* NUC | * NUC | ||
* Recommend a more powerful NUC with 16GB RAM and 500GB disk space | * Recommend a more powerful NUC with 16GB RAM and 500GB disk space | ||
- | | + | * Most mid-range NUCs have 4 physical CPUs for a total of 8 cores. Most Gen12 and Gen13 NUCs have more cores available. |
+ | | ||
* __IF__ you enable " | * __IF__ you enable " | ||
* __BUT__ However, I had issues the network connectivity on the Oracle guests, both bridging and NATting. Setting the promiscuous mode settings on the Virtualbox guest didn't solve the issue. | * __BUT__ However, I had issues the network connectivity on the Oracle guests, both bridging and NATting. Setting the promiscuous mode settings on the Virtualbox guest didn't solve the issue. | ||
Line 26: | Line 27: | ||
====== Project Overview ====== | ====== Project Overview ====== | ||
- | Before starting the Lab, you might review [[: | + | This Lab was refactored, improved, and moved to GitHub in 2024. |
- | Make sure virtualization is enabled in BIOS. | + | https:// |
- | For example on a NUC: Advanced > Security > Security Features | ||
- | * Intel® Virtualization Technology | ||
- | * Intel® VT for Directed I/O | ||
- | |||
- | ===== Initial Setup of Your Host System ===== | ||
- | You will need to set up a large-ish Ubuntu system. This will be home to the Oracle VirtualBox virtual machines (VM' | ||
- | |||
- | // See [[https:// | ||
- | |||
- | It's a good idea to use a " | ||
- | |||
- | Once installation is complete, follow best practice to upgrade software packages on the system. Open Terminal and enter the commands below. | ||
- | |||
- | <code bash> | ||
- | sudo apt update | ||
- | sudo apt upgrade -y | ||
- | </ | ||
- | |||
- | __Optionally__, | ||
- | |||
- | <code bash> | ||
- | sudo apt update | ||
- | sudo apt install openssh-server -y | ||
- | </ | ||
- | |||
- | // See [[https:// | ||
- | |||
- | ===== Install Packages and Create Keys for Ansible Management ===== | ||
- | - Add repository for Ansible | ||
- | * '' | ||
- | - Install required packages | ||
- | * '' | ||
- | * '' | ||
- | - Create the user '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | - Create the ssh key ansible will use to connect to your VMs | ||
- | * '' | ||
- | * accept default settings and __do not__ enter a passphrase | ||
- | - Use '' | ||
- | * Looks like " | ||
- | * __Save this key__ - you will use it when you create the custom Ubuntu ISO | ||
- | |||
- | ===== Install Oracle VirtualBox using Ansible ===== | ||
- | Follow steps here: [[Install Oracle VirtualBox using Ansible]] | ||
- | |||
- | // Note: There are many references out there if you don't want to use Ansible to install VirtualBox (e.g., [[https:// | ||
- | |||
- | ===== Customize the user-data File for Unattended Installation ===== | ||
- | Follow steps here: [[Customize user-data for Ubuntu Unattended Install]] | ||
- | |||
- | ===== Generate Custom Unattended Ubuntu Install ISO ===== | ||
- | Follow steps here: [[Generate Custom Unattended Ubuntu Install ISO]] | ||
- | |||
- | ===== Deploy our first Ubuntu VM to Oracle VirtualBox using Ansible ===== | ||
- | Follow steps here: [[Deploy Ubuntu unattended uninstall image to Oracle VirtualBox using Ansible]] | ||
- | |||
- | ===== Test our first Ubuntu VM ===== | ||
- | Follow steps here: [[test_the_first_ubuntu_vm_on_ansible|Test the First Ubuntu VM]] | ||
- | |||
- | ===== Delete our first Ubuntu VM ===== | ||
- | Follow steps here: [[Delete the first Ubuntu VM using Ansible]] | ||
- | |||
- | ===== Deploy our first fleet of VMs ===== | ||
- | Follow steps here: [[Deploy a Fleet of VMs]] | ||
- | |||
- | ===== Deploy an application to our fleet of VMs ===== | ||
- | [[Deploy an Application to our fleet of VMs]] | ||
- | |||
- | ===== Tear Down the Lab ===== | ||
- | [[Tear Down the Lab]] |
lab/ansible_virtualbox_autoboot_linux/start.1705981784.txt.gz · Last modified: 2024/01/23 03:49 by user