IRCNow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
openbsd:vmm [2020/02/28 12:12]
jrmu
openbsd:vmm [2020/03/05 11:48]
jrmu
Line 7: Line 7:
 vm "​user123"​ { vm "​user123"​ {
     memory 512M     memory 512M
-    enable 
     cdrom "/​home/​user/​install66.iso"​     cdrom "/​home/​user/​install66.iso"​
     disk "/​home/​user/​user123.qcow2"​     disk "/​home/​user/​user123.qcow2"​
-    interface { switch "​my_switch"​ }+    interface { 
 +       ​locked lladdr aa:​bb:​cc:​dd:​ee:​ff 
 +       switch "​my_switch"​ 
 +    ​}
 } }
 </​code>​ </​code>​
Line 16: Line 18:
 <​code>​ <​code>​
 # vmctl create -s 20G user.qcow2 # vmctl create -s 20G user.qcow2
-# vmctl start -m 512M -L -i 1 -r install66.iso -d user.qcow2 user 
 </​code>​ </​code>​
  
Line 31: Line 32:
 <​code>​ <​code>​
 @reboot /​usr/​bin/​tmux new -d 'while true; do /​usr/​bin/​ping -i5 38.81.163.128;​ done' \; @reboot /​usr/​bin/​tmux new -d 'while true; do /​usr/​bin/​ping -i5 38.81.163.128;​ done' \;
 +</​code>​
 +
 +<​code>​
 +# groupadd vmdusers
 +# chown root:​vmdusers /​var/​run/​vmd.sock
 </​code>​ </​code>​