Deploying Linux desktops involve several steps. If you plan to deploy more than a few desktops, you can automate some of the steps by using PowerCLI scripts.

For more information about vSphere PowerCLI, see https://www.vmware.com/support/developer/PowerCLI.

The process of bulk deploying a pool of Linux desktops involves the following steps:

  1. Create a virtual machine template.

    See Create a Virtual Machine Template for Cloning Linux Desktop Machines.

  2. Create a guest customization specification.

    See "Create a Customization Specification for Linux in the vSphere Web Client" in the vSphere Virtual Machine Administration document. When you create the specification, make sure that you specify the following settings correctly.

    Setting

    Value

    Target Virtual Machine OS

    Linux

    Computer Name

    Use the virtual machine name.

    Network Settings

    Use standard network settings.

    Primary DNS

    Specify a valid address.

  3. Clone virtual machines.

    For a sample script, see Sample PowerCLI Script to Clone Linux Desktop Machines.

  4. Install View Agent in virtual machines.

    For a sample script, see Sample PowerCLI Script to Install View Agent on Linux Desktops.

  5. Create a desktop pool.

    See Create a Desktop Pool That Contains Linux Virtual Machines.

Occasionally, you might need to uninstall View Agent on the Linux virtual machines. For example, you want to install a different version of View agent. For a sample script to uninstall view agent on virtual machines, see Sample PowerCLI Script to Uninstall View Agent on Linux Desktops.

For a sample script that performs operations such as power-on or power-off on virtual machines, see Sample PowerCLI Script to Perform Operations on Linux Desktop Machines.