From 9ca8bd760a33f3758a044299357f0732617b936b Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 29 Jul 2024 20:04:06 +0200 Subject: Enable internet access for VM It is planned that the sources are first directly downloaded into the VM. Later they will be cloned on the host, transmitted via rsync to the VM and the artifacts downloaded from the VM to make the build process completely offline for reproducibility. --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index df9857c..ef428f4 100644 --- a/main.go +++ b/main.go @@ -78,6 +78,8 @@ func qemu() *exec.Cmd { "-net", "nic,model=virtio", "-net", + "nic,model=virtio", + "-net", fmt.Sprintf( "user,hostfwd=tcp:127.0.0.1:%s-:22", port, -- cgit v1.2.3-70-g09d2