=INVESTIGATION 1: SETUP FOR NESTED VIRTUAL MACHINES=
===Part 1: Configure VMware Workstation for Nested VMs ===
Although we are using VMware Workstation to run our c7host VM, we will now install and configure another virtualization package called KVM in order to install the remaining VMs for this course.Since we are "nesting" VMs (i.e. running a VM inside another VM) we need to configure our c7host's Linux boot-up parameters in order to allow these VMs to run efficiently. :'''Perform the following steps:''' # Launch the '''VMware Workstation''' application.# Select '''Open Virtual Machine''', and select the VM called '''c7host''' on your Solid State Drive.# Launch your '''c7host''' machine, and login as as a regular user and open a shell terminal, and '''su -''' into '''root'''.# Edit the file called: '''/boot/efi/EFI/centos/grub.cfg'''# Search for the first occurrence of the Linux Kernel boot command.# Insert the boot option: '''kvm-intel.nested=1''' at the end of the Linux kernel boot options. See below for reference: <blockquote><code style="font-family:courier;font-size:1.2em;margin-left:20px;"><br>linuxefi /boot/vmlinuz-3.10.0-327.18.2.el7.x86_64 root=/dev/mapper/centos_c7host-root ro crashkernel=auto rd.lvm.lv=centos_c7host/root rd.lvm.lv=centos_c7host/swap rhgb quiet LANG=en_CA.UTF-8 <span style="color:blue;font-weight:bold">kvm-intel.nested=Part 1</span><br>initrdefi /boot/initramfs-3.10.0-327.18.2.el7.x86_64.img</code></blockquote> <ol><li value="7">Save your editing changes, and <u>'''reboot'''</u> your c7host VM.</li><li>If you configured your c7host VM for nested VMs, then you should get the output <b><code><span style="color:#3366CC;font-size:1.2em;">Y</span></code></b> when you issue the following command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">cat /sys/module/kvm_intel/parameters/nested</span></code></b></li></ol> ===Part 2: Install KVM Virtualization Application===
We will now install the KVM package in order to create our remaining "nested" VMs. We will also be starting several services (including iptables) and disabling the firewalld service. We will learn more about managing firewalls using iptables in lab6.