modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-06-19 14:21:29 +08:00
parent b8bfa8190d
commit a8911399f6

View file

@ -167,6 +167,7 @@ jobs:
sudo qemu-img convert -f raw -O qcow2 chr-$LATEST_VERSION.img chr-$LATEST_VERSION.qcow2
sudo rm chr-$LATEST_VERSION.img
sudo qemu-nbd -c /dev/nbd0 chr-$LATEST_VERSION.qcow2
sudo ls /dev/nbd*
sudo -E python3 patch.py boot /dev/nbd0p1
sudo mkdir ./routeros
sudo mount /dev/nbd0p2 ./routeros