shithub: docs.9front.org

Download patch

ref: a2e9b697c86e6583d078356692e3199c3cd11631
parent: 41fb5fc4173dedc6ee20920f3e95e98d0108b8fc
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Jul 29 19:35:59 EDT 2020

verbatim text: try better

--- a/openbsd-vmm.md
+++ b/openbsd-vmm.md
@@ -19,32 +19,28 @@
 
 Example of `/etc/vm.conf`:
 
-```
-vm "9front" {
-	disable # "enable" if you're brave
-	memory 2048M
-	disk "/path/to/9front.qcow2"
-	#cdrom "/path/to/9front.iso"
-	owner your_username_here
-	interface {
-		lladdr 52:54:00:00:EE:03
-		switch "uplink"
+	vm "9front" {
+		disable # "enable" if you're brave
+		memory 2048M
+		disk "/path/to/9front.qcow2"
+		#cdrom "/path/to/9front.iso"
+		owner your_username_here
+		interface {
+			lladdr 52:54:00:00:EE:03
+			switch "uplink"
+		}
 	}
-}
 
-switch "uplink" {
-	interface bridge0
-}
-```
+	switch "uplink" {
+		interface bridge0
+	}
 
 If connecting from outside of the host is required, perhaps a tweak of
 `/etc/pf.conf` might help:
 
-```
-pass in on egress proto tcp from any to any port 564 rdr-to 10.0.2.2
-pass in on egress proto tcp from any to any port 567 rdr-to 10.0.2.2
-pass in on egress proto tcp from any to any port 17019 rdr-to 10.0.2.2
-```
+	pass in on egress proto tcp from any to any port 564 rdr-to 10.0.2.2
+	pass in on egress proto tcp from any to any port 567 rdr-to 10.0.2.2
+	pass in on egress proto tcp from any to any port 17019 rdr-to 10.0.2.2
 
 `10.0.2.2` is the IP address 9front VM gets, in this case, ie
 `/etc/hostname.vether0` has `inet 10.0.2.1/24`.