rapid7/metasploitable3

Build with github actions

incyi opened this issue · 1 comments

incyi commented

Issue Description

I tried to fork this repo and build with github actions, but it did not worked. Anyone an idea if there is a workaround or maybe I did something wrong ?

See my repo:
https://github.com/incyi/metasploitable3/actions/runs/4027872515/jobs/6924112049

Host System

  • OS: Ubuntu-latest

Command Output

qemu: Done copying files from floppy_content

==> qemu: Found port for communicator (SSH, WinRM, etc): 3637.
==> qemu: Looking for available port between 5900 and 6000 on 127.0.0.1
==> qemu: Starting VM, booting from CD-ROM
==> qemu: Overriding default Qemu arguments with qemuargs template option...
==> qemu: Error launching VM: Qemu failed to start. Please run with PACKER_LOG=1 to get more info.
==> qemu: Deleting output directory...
Build 'qemu' errored after 3 minutes 39 seconds: Build was halted.

This is unlikely to be possible to build in github action as the build process interacts with full virtualization environments and needs resources more complex than actions are really best suited for.

There are also currently a couple issue with builds the first of which is #575 which needs to address that files needed during the build can no longer be obtained during the packer build process. This may be reworked the coming months to restore deployment capabilities.