From 7cfc5f788346653c6451e4180a058b8980c5ec7a Mon Sep 17 00:00:00 2001 From: Anjan Nath Date: Wed, 22 Jan 2025 17:24:40 +0530 Subject: [PATCH] test: re-create ignition firstboot marker to rerun ignition --- createdisk.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/createdisk.sh b/createdisk.sh index a54ae179..f35090e0 100755 --- a/createdisk.sh +++ b/createdisk.sh @@ -132,6 +132,10 @@ fi copy_systemd_units +# re-create ignition firstboot marker to rerun ignition +${SSH} core@${VM_IP} -- 'sudo mount -o remount,rw /dev/vda3 /boot' +${SSH} core@${VM_IP} -- 'sudo touch /boot/ignition.firstboot' + cleanup_vm_image ${VM_NAME} ${VM_IP} # Delete all the pods and lease from the etcd db so that when this bundle is use for the cluster provision, everything comes up in clean state.