Skip to content

Commit

Permalink
test: re-create ignition firstboot marker to rerun ignition
Browse files Browse the repository at this point in the history
  • Loading branch information
anjannath committed Jan 22, 2025
1 parent 2e2d4c4 commit 7cfc5f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions createdisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7cfc5f7

Please sign in to comment.