From e68f51317f1b48a26c8994fe077f58408b13473a Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 7 Mar 2015 00:11:32 +0100 Subject: [PATCH] fixes in the workflow to debug ping-node issues --- Makefile | 6 +++--- ping-node.md | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 0c07e51..ef52a82 100644 --- a/Makefile +++ b/Makefile @@ -51,9 +51,9 @@ MKISOFS_OPTS="-R -J -r -f -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-s sync-rewrap: ssh root@$(KVMHOST) "(cd $(KVMDIR); \ - echo "Rewrapping bootcd.img"; \ - (cd overlay && find . | cpio --quiet -c -o) | gzip -9 > iso/overlay.img; \ echo "Rewrapping overlay.img"; \ - (cd bootcd && find . | cpio --quiet -c -o) | gzip -9 > iso/bootcd.img; \ + (cd overlay && find . | cpio --quiet -c -o) | gzip -1 > iso/overlay.img; \ + echo "Rewrapping bootcd.img"; \ + (cd bootcd && find . | cpio --quiet -c -o) | gzip -1 > iso/bootcd.img; \ mkisofs -o $(NODE).iso $(MKISOFS_OPTS) iso/; \ )" diff --git a/ping-node.md b/ping-node.md index 3048b5e..84a6ae1 100644 --- a/ping-node.md +++ b/ping-node.md @@ -13,10 +13,11 @@ And namely, the set of systemd files that describe booting off the CD image * and then run it on the testmaster side like this - iterate-ping-node + `iterate-ping-node -o run01 ` * This allows to run a given bootcd (the iso computed for one node) several times over, and to gather all logs from qemu -* This is **only** restarting the kvm/qemu node several times, nothing is done to recompute the .iso itself (see below for that). So the game is to easily simulate how a change to `bootcd` would affect a node ISO without rebuilding the whole damn thing. +* This is **only** restarting the kvm/qemu node several times, nothing is done to recompute the .iso itself (see below for that). So the game is to easily simulate how a change to `bootcd` would affect a node ISO without rebuilding the whole damn thing +* When -o is provided, the directory argument is created and all log files are stored in there ## Easily redo a .iso -- 2.43.0