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 Feb 12, 2025
1 parent 12b42ef commit 5eca970
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 @@ -153,6 +153,10 @@ fi

podman_version=$(${SSH} core@${VM_IP} -- 'rpm -q --qf %{version} podman')

# 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'

# Shutdown the VM
shutdown_vm ${VM_NAME}

Expand Down

0 comments on commit 5eca970

Please sign in to comment.