Skip to content

Create bootable Qemu images fro Alpine Linux ISO

Notifications You must be signed in to change notification settings

troglobit/alpine-qemu-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alpine Qemu Image

This project can be used to create bootable x86_64 Qemu images based on Alpine Linux. To achive this https://www.packer.io and some shell scripts are used. On Debian/Ubuntu or Linu Mint systems, run:

~$ sudo apt install packer qemu-system-x86

To create images/alpine-313.qcow with a scrambled root password and an SSH key based on your ~/.ssh/id_rsa.pub, run:

~$ git clone https://github.com/troglobit/alpine-qemu-image.git
~$ cd alpine-qemu-image/
~/alpine-qemu-image$ ./build

To create the same image with the root password secret, run:

~/alpine-qemu-image$ packer build -force packer.json

On Linux systems you can give the resulting image a test drive, run:

~/alpine-qemu-image$ ./run

Origin & References

This project is based on startling/alpine-kernel-dev, changes to the original include updating to Alpine Linux 3.13.1 and build fixes for Linux host systems.

The sole purpose is to provide ready-made Qemu images for projects like the awesome wkz/qeneth :-)