This repository was archived by the owner on May 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpizwg-rp4.json
58 lines (58 loc) · 1.45 KB
/
pizwg-rp4.json
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"variables": {
},
"builders": [{
"type": "arm",
"file_urls" : ["http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-4-latest.tar.gz"],
"file_checksum_url": "http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-4-latest.tar.gz.md5",
"file_checksum_type": "md5",
"file_unarchive_cmd": ["bsdtar", "-xpf", "$ARCHIVE_PATH", "-C", "$MOUNTPOINT"],
"file_target_extension": "tar.gz",
"image_build_method": "new",
"image_path": "pizwg-rp4.img",
"image_size": "2G",
"image_type": "dos",
"image_partitions": [
{
"name": "boot",
"type": "c",
"start_sector": "8192",
"filesystem": "vfat",
"size": "256M",
"mountpoint": "/boot"
},
{
"name": "root",
"type": "83",
"start_sector": "532480",
"filesystem": "ext4",
"size": "0",
"mountpoint": "/"
}
],
"qemu_binary_source_path": "/usr/bin/qemu-arm-static",
"qemu_binary_destination_path": "/usr/bin/qemu-arm-static"
}],
"provisioners": [
{
"type": "file",
"source": "file-copy",
"destination": "/tmp"
},
{
"type": "shell",
"scripts": [
"shell/network.sh",
"shell/packages.sh",
"shell/poe.sh",
"shell/pizwg.sh",
"shell/keepalived.sh",
"shell/monitor.sh",
"shell/ser2net.sh",
"shell/prometheus.sh",
"shell/ssh.sh",
"shell/read-only.sh"
]
}
]
}