Skip to content

Instantly share code, notes, and snippets.

@andrewvmail
Last active March 29, 2023 03:36
Show Gist options
  • Save andrewvmail/465636dfe9d093774b358a2d4ec19b44 to your computer and use it in GitHub Desktop.
Save andrewvmail/465636dfe9d093774b358a2d4ec19b44 to your computer and use it in GitHub Desktop.
build burmilla packer
ufw disable
git clone https://github.com/burmilla/os-packer.git
cd os-packer
cd digitalocean/
ls
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update && sudo apt install packer
apt-get install qemu-kvm
vim digitalocean-qemu.json
wget -O rancheros.iso https://github.com/burmilla/os/releases/download/v1.9.7-rc1/burmillaos-v1.9.7-rc1.iso
vim digitalocean-qemu.json
PACKER_LOG=1 packer build .
PACKER_LOG=1 packer build digitalocean-qemu.json
BOOT_WAIT=60 PACKER_LOG=1 packer build digitalocean-qemu.json
vim digitalocean-qemu.json
PACKER_BOOT_WAIT=60 PACKER_LOG=1 packer build digitalocean-qemu.json
PACKER_BOOT_WAIT=60s PACKER_LOG=1 packer build digitalocean-qemu.json
vim digitalocean-qemu.json
ISO_CHECKSUM=aa917a53e67ef8150f1015031777b0ea PACKER_BOOT_WAIT=180s PACKER_LOG=1 packer build digitalocean-qemu.json
cd output-digitalocean/
history -w /dev/stdout
- "iso_url": "/rancheros.iso",
+ "iso_url": "./rancheros.iso",
"name": "digitalocean",
"net_device": "virtio-net",
"qemuargs": [
[
"-m",
- "1400M"
+ "16G"
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment