diff --git a/index.ts b/index.ts index 7a01cac..699559d 100644 --- a/index.ts +++ b/index.ts @@ -37,6 +37,13 @@ if (process.argv[2] === "generate-secrets") { const alpine = await Alpine.makeWorld({ dir: rootfsDir }); await alpine.addPackages(["helix", "htop", "iproute2-ss", "socat"]); + await alpine.writeFile( + "/root/.ash_history", + ` +socat tcp-listen:80,reuseaddr,fork tcp:localhost:3050 & +`, + { uid: 0, gid: 0 } + ); await installFluentBit(alpine); const runit = await Runit.setup(alpine); await setupDhcpcd(alpine, runit);