murano-deployment/image-builder
Dmitry Teselkin 1ec0125c68 Image builder is able to download required files.
Change-Id: If44101746da65fc6dc840b9c90eb533902baf523
2013-10-03 16:27:53 +04:00
..
share CloudBase-Init service starts faster. 2013-09-20 17:58:21 +04:00
Makefile Image builder is able to download required files. 2013-10-03 16:27:53 +04:00
README.rst Image builder scripts added. 2013-06-12 17:58:32 +04:00
dependency.list Image builder is able to download required files. 2013-10-03 16:27:53 +04:00
depmgr.sh Image builder is able to download required files. 2013-10-03 16:27:53 +04:00
install-vm.sh Image builder improvement 2013-07-12 17:32:46 +04:00
install.sh Image builder is able to download required files. 2013-10-03 16:27:53 +04:00

README.rst

Image builder

Use the 'make' utility to start build new Windows image.

During build preparation this folder will be copied entirely to the /opt/image-builder folder. We refer to that folder using variable BUILD_ROOT.

Prerequisites

The following ISO files MUST be placed under $BUILD_ROOT/libvirt/images folder: * ws-2012-eval.iso - Windows installation ISO file. Must be renamed or simlinked. * virtio-win-0.1-52.iso - VirtIO drivers for Windows.

Files that MUST be placed under $BUILD_ROOT/share/files are described in README file under share/files subfolder.

Required steps

  1. Run make build-root to create directory structure. It will be built under '/opt/image-builder' folder, which is internally referred by BUILD_ROOT variable.
  2. Copy prerequisite files to their folders.
  3. Run make test-build-files to ensure that all files are in place.
  4. Run make to show available image targets.
  5. Run make <image target> to build image.
  6. Image file should be saved under $BUILD_ROOT/libvirt/images folder.
  • Run make clean to remove files produced by this makefile only. NOTE: 'static files' (prerequisites) will be kept.
  • Run make clean-all to run clean other files, that were prodiced by other makefiles.