~razzi/ronin

599073d6c0a4d83b3d2fc1fe2a9370c87720fe82 — Razzi Abuissa 6 months ago 4508e5d
ronin2.sh start
2 files changed, 18 insertions(+), 0 deletions(-)

A Makefile
A ronin2.sh
A Makefile => Makefile +4 -0
@@ 0,0 1,4 @@
all: ronin

ronin: ronin2.sh
	./ronin2.sh

A ronin2.sh => ronin2.sh +14 -0
@@ 0,0 1,14 @@
#!/bin/sh
# ronin2: this time using qemu

mkdir -p ~/.ronin && cd ~/.ronin

DEBIAN_CLOUD_IMAGE=debian-12-nocloud-amd64.qcow2
DEBIAN_IMAGE_URL=https://cloud.debian.org/images/cloud/bookworm/latest/$DEBIAN_CLOUD_IMAGE

wget --no-clobber $DEBIAN_CLOUD_IMAGE

RONIN_DISK=ronin-disk.qcow2
test ! -f $RONIN_DISK && \
  cp $DEBIAN_CLOUD_IMAGE $RONIN_DISK && \
  qemu-resize $DEBIAN_CLOUD_IMAGE 20G