Giter Club home page Giter Club logo

arch-boxes's Introduction

arch-boxes

Build Status

Arch-boxes provides automated builds of the Arch Linux releases for different providers and post-processors. Check the providers or post-processor sections if you want to know which are currently supported.

Dependencies

You'll need the following dependencies:

  • packer (for basic usage)
  • vagrant (for vagrant images)
  • qemu (for libvirt provider support)
  • virtualbox (for virtualbox support)
  • VMware Workstation Pro (for vmware support)

variables

Here is an overview over all variables you can set in vagrant.json or local.json:

  • iso_url: the url to the ISO. This can be an url or a filepath beginning with file://
  • iso_checksum_url: the url to the checksum file. This can be an url or a filepath beginning with file://
  • iso_checksum_type: this specifies the hashing algorithm for the checksum.
  • disk_size: this specifices the disk size in bytes.
  • memory: this specifies the size of the RAM in bytes.
  • cpus: this specifies the number of cores for your VM.
  • headless: this sets GUI on or off.
  • vagrant_cloud_token: here you can specify the vagrant cloud token for uploading your box to the vagrantcloud. If you don't have a vagrant cloud token you can ignore this variable. Without a token the boxes will be built, but the upload step step will fail.
  • write_zeroes: this variable is empty. if you set any string in this variable it will fill the box with zeros to reduce the size. DO NOT use this if you are running a SSD. It will harm your SSDs lifetime
  • boot_wait: this specifies the time packer should wait for booting up the ISO before entering any command.

how to start the build process locally

Edit the local.json before you start the build. set the right iso_url and the right iso_checksum_url. Then you can start the build for virtualbox only with the following command:

packer build -only=virtualbox-iso -var-file=local.json vagrant.json

how to start the build process for official builds

The official builds are done on our Arch Linux Buildserver.

packer build vagrant.json

providers

  • virtualbox-iso
  • qemu/libvirt
  • vmware-iso

post-processors

  • vagrant

Troubleshooting

Parallel build fails

If the parallel build fails this is mostly because the KVM device is already occupied by a different provider. You can use the build option parallel=false for building the images in a queue instead of parallel. But don't be surprised that that the build process will take longer. Any other option is to disable KVM support for all other providers except one.

Start packer with -parallel=false:

packer build -parallel=false vagrant.json

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.