IRCNow

This is an old revision of the document!


From /etc/vm.conf:

switch "my_switch" {
    interface bridge0
}
vm "user123" {
    memory 512M
    enable
    cdrom "/home/user/install66.iso"
    disk "/home/user/user123.qcow2"
    interface { switch "my_switch" }
}
# vmctl create -s 20G user.qcow2
# vmctl start -m 512M -L -i 1 -r install66.iso -d user.qcow2 user

You will need to add this crontab entry for a user to prevent the networking from timing out:

For openbsd:

@reboot /usr/bin/tmux new -d 'while true; do /sbin/ping -i5 38.81.163.128; done' \;

For debian:

@reboot /usr/bin/tmux new -d 'while true; do /usr/bin/ping -i5 38.81.163.128; done' \;