parabola-vmbootstrap/README

35 lines
934 B
Plaintext
Raw Normal View History

2017-12-31 23:12:35 +01:00
2018-04-24 17:58:58 +02:00
parabola-imagebuilder
=====================
This is a collection of scripts creating parabola images for use with qemu.
2017-12-31 23:12:35 +01:00
image creation
--------------
2018-04-24 17:58:58 +02:00
To create a new virtual machine image, run
2017-12-31 23:12:35 +01:00
$> sudo ./create.sh
2018-04-24 17:58:58 +02:00
The creation is influenced by the following environment variables:
2018-04-24 17:58:58 +02:00
ARCH - the target architecture of the image. default: armv7h
2018-04-24 17:58:58 +02:00
SIZE - the size of the root image. default: 64GiB
2018-04-24 17:58:58 +02:00
MIRROR - the mirror used to pacstrap the image, anything valid in a `Server =`
line can go here.
default: https://redirector.parabola.nu/\$repo/os/\$arch}
2017-12-31 23:12:35 +01:00
2018-04-24 17:58:58 +02:00
The created images are stored in the build/ directory.
2017-12-31 23:12:35 +01:00
virtual machine start
---------------------
2018-04-24 17:58:58 +02:00
To boot a created virtual machine, run
$> sudo ./boot.sh [path to created image]
2018-04-24 17:58:58 +02:00
The start.sh script assumes that you want a throwaway session, so it will start
the virtual machine in snapshot mode, and changes during the session will be
discarded.