bladerunner/packer/boards/cm4-cnode-ubuntu-22.04.2.json

60 lines
2.0 KiB
JSON
Raw Normal View History

2023-04-12 19:51:41 +00:00
{
"variables": {},
"builders": [
{
"type": "arm",
"file_urls": [
"build/ubuntu-22.04.2-preinstalled-server-arm64+raspi.img.xz",
"https://cdimage.ubuntu.com/releases/22.04.2/release/ubuntu-22.04.2-preinstalled-server-arm64+raspi.img.xz"
],
"file_checksum_url": "http://cdimage.ubuntu.com/releases/22.04.2/release/SHA256SUMS",
"file_checksum_type": "sha256",
"file_target_extension": "xz",
"file_unarchive_cmd": [
"xz",
"--decompress",
"$ARCHIVE_PATH"
],
"image_build_method": "reuse",
"image_path": "build/cm4-cnode-ubuntu-22.04.2.img",
2023-04-12 19:51:41 +00:00
"image_size": "32G",
"image_type": "dos",
"image_partitions": [
{
"name": "boot",
"type": "c",
"start_sector": 2048,
"size": "256M",
"mountpoint": "/boot/firmware"
},
{
"name": "root",
"type": "83",
"start_sector": 526336,
"size": "31.7G",
"mountpoint": "/"
}
],
"image_chroot_env": [
"PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
],
"qemu_binary_source_path": "/usr/bin/qemu-aarch64-static",
"qemu_binary_destination_path": "/usr/bin/qemu-aarch64-static"
}
],
"provisioners": [
2023-04-13 16:58:11 +00:00
{
"destination": "/boot/firmware/user-data",
"source": "files/user-data_cnode",
2023-04-13 16:58:11 +00:00
"type": "file"
},
2023-04-12 19:51:41 +00:00
{
"scripts": [
"scripts/setup-base.sh",
2023-04-13 16:58:11 +00:00
"scripts/setup-ssh.sh"
2023-04-12 19:51:41 +00:00
],
"type": "shell"
}
],
"post-processors": null
}