Create Ubuntu OS Resources manually

In alternative to Task 68, you can use a script to manually create the Ubuntu Resources needed for your deployments, as described in the following steps. The script requires that you download a Server .ISO file of the same point release of the Ubuntu Desktop that you plan to deploy on your workstations.
Important: The live-Server ISO is not allowed. You can download the Ubuntu Server ISO from the alternative downloads of the official Ubuntu webpage (https://ubuntu.com/download/alternative-downloads).

Creating OS Resources for Ubuntu deployments using the resource creation tool

To create an OS Resource for Ubuntu deployments manually, perform the following steps on an Ubuntu machine (if you want to use an Ubuntu Server machine, you have to install the required packages) with the same release as that of the downloaded Server .ISO.
  1. Download the Ubuntu Resource Creator Script from the following link: http://software.bigfix.com/download/osd/ubuntu_resource_tool.sh . You can also use the link available in Task 68.
  2. Download the Ubuntu server .iso file from the internet 16.04 or 17.04 (32 bit or 64 bit) depending on the version and architecture required for your deployments.
  3. From the directory where you downloaded the Resource Creator script, run it as root or sudo, using the syntax:
    ubuntu_resource_tool.sh [-w <working_dir>] [-c <copy_to_folder>][-l <logfile_path]{<path_to_server_iso>}
    Where:
    • -w <working_dir> is the working directory used by the OS resource creation process. It is optional. If not specified, the tool uses a temporary directory named wd in the current path.
    • -c <copy_to_folder> is the directory where the tool stores the generated OS resources. It is optional. If not specified, the OS resource is copied in the current path.
    • -l <logfile_path> is the path of the OS Resource creation process log. If not specified, the log file is created in the current path with the default name prepare.log
    • {<path_to_server_iso>} is the path of the Ubuntu server .iso file that you downloaded in step 2. If only the file name is specified, the current path is assumed.
    Note: The Ubuntu Server .iso file specified in the command must be the same point release version of the Ubuntu workstation that you want to provision.
    For example, assuming that the ubuntu_resource_tool.sh is available in the current directory and that you downloaded the Ubuntu Server .iso in the /tmp folder, you can create the Ubuntu OS Resource with the following command:
    sudo ./ubuntu_resource_tool.sh -w osdworkdir /tmp/ubuntu-16.04.2-server-amd64.iso   
     
    The directory specified in -w can be a relative or absolute path. The directory is created if it does not exist. If it already exists, all content is erased. In this example the resource file is created in the osdworkdir subdirectory.

    The script produces an .iso file containing the OS resource which you must import from the Bundle and Media Manager dashboard. Depending on the Server version and architecture that you specified in input to the script (Server .iso file), the new OS resource file names are composed by a fixed part OS_Resource_Ubuntu-Server followed by the release _16.04.1 or _16.04.2 or _17.04, and the architecture _i386.iso or _amd64.iso.

  4. Import the Ubuntu resource from the Bundle and Media Manager dashboard, by clicking Import Linux OS Resource and specifying the path to the newly created Ubuntu OS Resource.