Uploaded image for project: 'csit'
  1. csit
  2. CSIT-111

Automate creation of Linux images using Packer scripts

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: High High
    • csit-160612
    • None
    • None

      Automate creation of both the nested VM and the main VM images.

      Nested VM images to be built using buildroot. Builtroot configs, kernel config, and post-processing scripts should all be part of the build framework and part of CSIT git repository.

      Main VM images to include three components:

      • A packer template that creates a minimal disk image to be built one-time,
      • A script that can be run periodically and that performs an "upgrade to latest" on the minimal disk image, and records the specific packages and versions that it's being upgraded to. These lists, in turn, should become part of CSIT archive
      • A packer template that produces a specific release of disk image, taking a packet list (output from previous step) as input

      Desired outcome is that, without the need for storing and archiving a large binary disk image itself, we have a framework that allows to:

      • repeatedly build CSIT test images with either the "latest" or a historic/timestamped version, and functionally identical outcome each time
      • make changes (add packages or other post-processing) and then rebuild with minimal amount of effort
      • produces images with identical content for both CSIT VIRL (qcow2) and Vagrant (VirtualBox)

            ckoester Carsten Koester
            ckoester Carsten Koester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 5 hours Original Estimate - 5 hours
                5h
                Remaining:
                Time Spent - 3 days, 1 hour Remaining Estimate - 5 hours
                5h
                Logged:
                Time Spent - 3 days, 1 hour Remaining Estimate - 5 hours
                3d 1h