aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorUtkarsh Anand <uanand009@gmail.com>2017-10-25 12:57:47 +0530
committerDmitry Vyukov <dvyukov@google.com>2017-10-25 09:27:47 +0200
commit3f955eba7f6eee3d98f78d3398863f3d922a0b35 (patch)
tree5bae0f6963f58fea690ee7a21d3e252a14b08cf3 /docs
parent88999972bf16ffc379ada779bfb44a5fa6edf741 (diff)
Lots of changes to sys/netbsd (#397)
* Lots of changes to sys/netbsd: - Removed a few syscalls that did not have proper constants defined. - Autogenerated *.const files. - Removed a few types like uid and gid, that were not available. - Ran make generate * Few changes for NetBSD support: - Added sys/netbsd/init.go - Added netbsd to sys/sys.go * Fix order in sys/sys.go * Update documentation for NetBSD
Diffstat (limited to 'docs')
-rw-r--r--docs/netbsd.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/netbsd.md b/docs/netbsd.md
index bc40acfc7..4dee89196 100644
--- a/docs/netbsd.md
+++ b/docs/netbsd.md
@@ -21,6 +21,9 @@ To prepare the image, use `anita`. (You need the python module `pexpect` install
git clone https://github.com/utkarsh009/anita
python anita/anita --workdir anitatemp install http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/201710221410Z/amd64/
```
+NOTE: You can choose your own release tree from here: http://ftp.netbsd.org/pub/NetBSD/
+URL for a daily build might not exist in future and new release trees keep coming out.
+
Then spin up an instance from the image generated inside `./anitatemp` directory
```
qemu-system-x86_64 -m 1024 -drive file=anitatemp/wd0.img,format=raw,media=disk -netdev user,id=mynet0,host=10.0.2.10,hostfwd=tcp:127.0.0.1:10022-:22 -device e1000,netdev=mynet0 -nographic
@@ -43,7 +46,7 @@ ListenAddress 10.0.2.15
Then add your pubkey to `/root/.ssh/authorized_keys` and `reboot` the VM.
When you see the login prompt, open up another terminal on host and issue the following command
```
-ssh -i netbsd -p 10022 root@127.0.0.1
+ssh -i netbsdkey -p 10022 root@127.0.0.1
```
If all of the above worked, `poweroff` the VM and create `netbsd.cfg` config file with the following contents (alter paths as necessary):