aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 2a59b9f90c72d3ad613604676057d3ae9ed1b1d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Archlinux-cloud

A little script to build a cloud-init ready archlinux image.

# Requirements

For using this script you need:

- A working Archlinux installation
- The following packages installed:
    - [libvirt](https://archlinux.org/packages/community/x86_64/libvirt/)
    - [libisoburn](https://archlinux.org/packages/extra/x86_64/libisoburn/)

# use

For build an Archlinux image use the script `build.sh`. You must be root for
using this script since we use the `mkarchiso` command.

```
./build.sh --net --qcow2 [size] --ssh [key_path]

    --net enable dhcpcd
    --qcwo2 create an image in  qcow2 format instead of on ine iso format
        [size] the size of the image you want. By default it don't resize
    --ssh enable ssh at boot
```