chore: bootstrap lean sysadmin-chronicles repo
Import the runnable game code, content, docs, scripts, and repo guidance while leaving local agent state, dependency installs, build output, and backup copies out of the published tree.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { runCommand } from './command.js';
|
||||
|
||||
export async function runVirsh(args = [], options = {}) {
|
||||
const uri = options.uri ?? process.env.LIBVIRT_URI ?? 'qemu:///system';
|
||||
const timeoutMs = (options.timeoutSec ?? 10) * 1000;
|
||||
return await runCommand('virsh', ['--connect', uri, ...args], { timeoutMs });
|
||||
}
|
||||
Reference in New Issue
Block a user