Capture and Deployment - absentee-neptune/SYS-480 GitHub Wiki

Creating xubuntu Fog Capture Target

  • From the xubuntu.20.04.base VM, create a Full Clone
    • Name it xubuntu-fog-capture-target
    • Use the following Settings:
  • Then go to VM Options in the Settings and activate the Force BIOS setup

Creating an Image in FOG

  • On the Navigation Bar in the FOG Dashboard, select Images
  • On the sidebar select Create New Image
    • Use the following Settings:

Capturing an Image

  • Start xubuntu-fog-capture-target and open the Console
  • When loaded it SHOULD go straight to the BIOS menu
  • Navigate to the Boot menu
    • Move the Network Boot from VMware VMXNET3 item to the top of the list
  • Hit F10 to Save and Exit
  • When the VM restarts it should boot to DHCP
  • When the FOG menu shows up QUICKLY move down the selection so no automatic stuff happens
    • Select Quick Registration and Inventory
  • When this is done it will reboot back to DHCP to the FOG menu
    • When this occurs turn off the VM
  • Navigate back to the FOG Dashboard and select Hosts
    • On the sidebar select List All Hosts, you should see a new entry
  • Select the entry and update the Host Image to xubuntu.20.04-f20
  • On the Navigation Bar in the FOG Dashboard, select Tasks
    • On the sidebar select List All Hosts, you should see an entry
    • Select the Orange Icon on the Entry:
    • Once selected the task should pop up when you select Active Tasks on the sidebar
  • Go back to vCenter, activate the Force BIOS setup option on xubuntu-fog-capture-target
    • Start the VM and open the console
    • Check the position of the Network Boot from VMware VMXNET3 item (it should be the top item)
    • Hit F10 to Save and Exit
  • The Partclone capture process should start automatically (it will take a bit)
  • When this is done it will reboot back to DHCP to the FOG menu
    • When this occurs turn off the VM

Creating the Deployment VM

  • Select the Virtual Machine tab on the side
  • Select Create/Register VM
    • Leave the default selection then press Next
    • Select a name and guest OS
      • Name the new VM xubuntu-fog-deploy
      • Switch the Compatability to ESXi 6.5
      • Select Linux for the Guest OS family
      • Select Ubuntu Linux (64-bit) for the Guest OS version
      • Press Next
    • Select datastore2-super8 as the Storage, then press Next
    • Customize the Settings to match this:

      Make sure to change the Disk Provisioning for the Hard Disk to Thin Provisioning, we are not adding an iso image from here

    • Then go to VM Options in the Settings and activate the Force BIOS setup

Deployment

  • Start xubuntu-fog-deploy and open the console
  • When loaded it SHOULD go straight to the BIOS menu
  • Navigate to the Boot menu
    • Move the Network Boot from VMware VMXNET3 item to the top of the list
    • Hit F10 to Save and Exit
  • When the VM restarts it should boot to DHCP
  • When the FOG menu shows up QUICKLY move down the selection so no automatic stuff happens
    • Select Deploy Image
  • Enter FOG credentials
  • Select the xubuntu.20.04-f20 image
  • When this is done it will reboot back to DHCP to the FOG menu
    • Select Boot from hard disk
  • xubuntu should boot on the VM
    • Log in and check the network connection
  • YAY WE DEPLOYED AN IMAGE