diff options
author | xengineering <me@xengineering.eu> | 2024-07-29 20:04:06 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-07-29 20:05:41 +0200 |
commit | 9ca8bd760a33f3758a044299357f0732617b936b (patch) | |
tree | 46c97b80defe076fd608fd284a616e5fe0537959 | |
parent | 5bea4c50e7afd39ae64bb2b80c49e4a81650be1b (diff) | |
download | craft-9ca8bd760a33f3758a044299357f0732617b936b.tar craft-9ca8bd760a33f3758a044299357f0732617b936b.tar.zst craft-9ca8bd760a33f3758a044299357f0732617b936b.zip |
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.
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |