fuel-ccp-installer/doc/PACKER.md

1.6 KiB

Packer Templates

The most of settings are specified as variables. This allows to override them with -var key without template modification. A few environment variables should be specified as a safety measure. See debian.json ubuntu.json with the post-processors section with all details about deploying the Vagrant Boxes to Atlas.

Custom builds

Ubuntu build

  UBUNTU_MAJOR_VERSION=16.04 \
  UBUNTU_MINOR_VERSION=.1 \
  UBUNTU_TYPE=server \
  ARCH=amd64 \
  HEADLESS=true \
  packer build -var 'cpus=2' ubuntu.json

Debian build

  DEBIAN_MAJOR_VERSION=8 \
  DEBIAN_MINOR_VERSION=5 \
  ARCH=amd64 \
  HEADLESS=true \
  packer build -var 'cpus=2' debian.json

Login Credentials

(root password is "vagrant" or is not set )

  • Username: vagrant
  • Password: vagrant

SSH_USER may be used to create a different user whci may be used later to access environment.

VM Specifications

  • Vagrant Libvirt Provider
  • Vagrant Virtualbox Provider

qemu

  • VirtIO dynamic Hard Disk (up to 10 GiB)

Customized installation

Debian configuration is based on jessie preseed. Ubuntu configuration is based on xenial preseed. A few modifications have been made. Use diff for more details.

Debian/Ubuntu installation
  • en_US.UTF-8
  • keymap for standard US keyboard
  • UTC timezone
  • NTP enabled (default configuration)
  • full-upgrade
  • unattended-upgrades
  • /dev/vda1 mounted on / using ext4 filesystem (all files in one partition)
  • no swap