/alpine-droplet

[fork] Alpine Linux image generator for DigitalOcean

Primary LanguageShell

Digital Ocean Alpine Linux Image Generator

Build Status

This is a tool to generate an Alpine Linux custom image for DigitalOcean. This ensures that the droplet will correctly configure networking and SSH on first boot using Digital Ocean's metadata service. To use this tool make sure you have qemu-nbd, qemu-img, bzip2 and e2fsprogs installed. This will not work under the Windows Subsystem for Linux (WSL) as it mounts the image during generation.

Once these prerequisites are installed run (in root):

# ./build-image.sh

This will produce alpine-virt-image-{timestamp}.qcow2.bz2 which can then be uploaded to Digital Ocean and used to create your droplet. Check out their instructions at https://blog.digitalocean.com/custom-images/ for uploading the image and creating your droplet.

If you want to build latest version, pull latest alpine-make-vm-image repo: git submodule foreach git pull origin master