Skip to content

Instantly share code, notes, and snippets.

@FabienRCT
FabienRCT / gist:b398f739a8563d97e8bd791471b6458f
Created November 6, 2025 08:28
Qemu guest agent on a NetBSD VM with Proxmox
On Proxmox's VM setting:
Add a serial port : serial0
In Options-> QEMU Guest Agent -> Enable "Use QEMU Guest Agent" and under Advanced, select Type : ISA
Inside the VM:
Insall qemu-guest-agent : pkgin install qemu-guest-agent
Install the service : cp /usr/pkg/share/examples/rc.d/qemu-guest-agent /etc/rc.d/qemu-guest-agent
Enable the service in rc.conf : add the line "qemu_guest_agent=YES"
@FabienRCT
FabienRCT / gist:24c8ebc928422b54a029efa7330200fa
Created October 3, 2024 10:44
"database msf has a collation version mismatch" on metasploit after a postgres database update
sudo msfdb start # if the database is not already running
sudo -u postgres psql
REINDEX DATABASE msf;
ALTER DATABASE msf REFRESH COLLATION VERSION;
REINDEX DATABASE postgres;