1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

increase timeout

This commit is contained in:
Jason N. 2024-03-01 14:22:42 -05:00
parent 66939e2ba9
commit 3734b50057

View file

@ -158,7 +158,7 @@ jobs:
- name: Install the test VM - name: Install the test VM
run: | run: |
timeout 30m qemu-system-x86_64 -name "Anaconda" -boot d -m 4096 -cpu qemu64 -display none -cdrom test.iso -smp 2 -drive file=disk.qcow2 -serial telnet:localhost:4321,server,nowait & QEMU_PID=$! timeout 1h qemu-system-x86_64 -name "Anaconda" -boot d -m 4096 -cpu qemu64 -display none -cdrom test.iso -smp 2 -drive file=disk.qcow2 -serial telnet:localhost:4321,server,nowait & QEMU_PID=$!
echo "PID: $QEMU_PID" echo "PID: $QEMU_PID"
timeout 1m bash -c "while ! (echo > /dev/tcp/127.0.0.1/4321); do sleep 0.1; done" timeout 1m bash -c "while ! (echo > /dev/tcp/127.0.0.1/4321); do sleep 0.1; done"
(nc localhost 4321 | tee vm.stdout) & (nc localhost 4321 | tee vm.stdout) &