alpine-make-vm-image/README.adoc

38 lines
1.3 KiB
Text
Raw Normal View History

2017-08-29 18:01:51 +00:00
= Make Alpine Linux VM Image
2017-08-29 22:54:42 +00:00
:script-name: alpine-make-vm-image
2017-09-08 22:10:52 +00:00
:script-sha1: 0d4df35c02186d5d739a3312a2cc204fe712e10f
2017-08-29 22:54:42 +00:00
:gh-name: jirutka/{script-name}
2017-09-08 22:10:52 +00:00
:version: 0.1.0
2017-08-29 22:54:42 +00:00
ifdef::env-github[]
image:https://travis-ci.org/{gh-name}.svg?branch=master["Build Status", link="https://travis-ci.org/{gh-name}"]
endif::env-github[]
This project provides script for making customizable Alpine Linux disk image for virtual machines.
== Requirements
* POSIX-sh compatible shell (e.g. Busybox ash, dash, Bash, ZSH)
* qemu-img and qemu-nbd (automatically installed by the script if running on Alpine)
* e2fsprogs (for ext4), btrfs-progs (for Btrfs), or xfsprogs (for XFS) (automatically installed by the script if running on Alpine)
2017-08-29 22:54:42 +00:00
== Usage
Read documentation in link:{script-name}[{script-name}].
See link:.travis.yml[.travis.yml] for Travis example.
You can copy link:{script-name}[{script-name}] into your repository or download it on demand, e.g.:
[source, sh, subs="+attributes"]
wget https://raw.githubusercontent.com/{gh-name}/v{version}/{script-name} \
&& echo '{script-sha1} {script-name}' | sha1sum -c \
|| exit 1
== License
This project is licensed under http://opensource.org/licenses/MIT/[MIT License].
For the full text of the license, see the link:LICENSE[LICENSE] file.