Install custom images in your private VTS installation

This quick tutorial will show you how to install VTS images within your own private VTS installation. You can follow the steps to install existing VTS images, or new images that you have created yourself, by following the directions at Create A New Container Image

Installation Procedure

  1. Ensure that you have successfully installed vts according to the directions at: Install VTS into an Ubuntu Server 16.04 Xenial Xerus

  2. From your VTS box, download the VTS images intaller script:

    # hg clone https://oadele3@bitbucket.org/UH-netlab/vts-images/install.py
    
  3. To install your own custom image, first ensure that your custom image has the directoy structure as described in Create A New Container Image. That is it must have the ‘build’ and the ‘runtime’ subdirectories within it.

  4. Copy your custom image’s directory into the same directory to which you downloaded the image installer script You can use the command below to copy.

    # cp /path/to/your/image .
    
  5. To install the new image, run the command:

    # ./install.py image_dir_name
    

    where image_dir_name is the directory name of the image you want to install

  6. Restart the foam service:

    # systemctl restart foam