Browse Source

/var/vm is a terrible idea, the images are filled on demand, they are

not backed by blocks until used.
So I'll use /home/vm instead.
Pointed out by deraadt@
OPENBSD_5_9
reyk 9 years ago
parent
commit
c107e6cdeb
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/etc/examples/vm.conf

+ 3
- 3
src/etc/examples/vm.conf View File

@ -1,4 +1,4 @@
# $OpenBSD: vm.conf,v 1.1 2015/12/07 13:58:48 reyk Exp $
# $OpenBSD: vm.conf,v 1.2 2015/12/07 16:40:41 reyk Exp $
# #
# Macros # Macros
@ -15,7 +15,7 @@ vm "openbsd.vm" {
kernel $sets "bsd.rd" kernel $sets "bsd.rd"
# First disk from 'vmctl create "/var/vm/OpenBSD.img" -s 4G' # First disk from 'vmctl create "/var/vm/OpenBSD.img" -s 4G'
disk "/var/vm/OpenBSD.img"
disk "/home/vm/OpenBSD.img"
# Second disk from OpenBSD contains the install sets # Second disk from OpenBSD contains the install sets
disk $sets "install58.fs" disk $sets "install58.fs"
@ -30,5 +30,5 @@ vm "vm1.example.com" {
memory 1G memory 1G
interfaces 2 interfaces 2
kernel "/bsd" kernel "/bsd"
disk "/var/vm/vm1-disk.img"
disk "/home/vm/vm1-disk.img"
} }

Loading…
Cancel
Save