-# $OpenBSD: Makefile,v 1.3 2017/11/11 02:54:42 mlarkin Exp $
+# $OpenBSD: Makefile,v 1.4 2018/01/07 22:59:57 ccardenas Exp $
VMD ?= /usr/sbin/vmd
-VMD_PASS=boot-keyword memory-round memory-just-enough
+VMD_PASS=boot-keyword memory-round memory-just-enough cdrom-keyword
VMD_FAIL=kernel-keyword too-few-ram vm-name-too-long too-many-ifs \
boot-name-too-long disk-path-too-long too-many-disks \
- switch-no-interface switch-no-add
+ switch-no-interface switch-no-add cdrom-name-too-long
REGRESS_TARGETS=
--- /dev/null
+# $OpenBSD: vmd-fail-cdrom-name-too-long.conf,v 1.1 2018/01/07 22:59:57 ccardenas Exp $
+# Fail on cdrom path (> 128)
+iso="/some/absolutepath/somewhere/abcdefghijklmnopqrstuvwxyz0123456789/abcdefghijklmnopqrstuvwxyz0123456789/abcdefghijklmnopqrstuvwxyz0123456789/cd62.iso"
+vm "x" {
+ cdrom $iso
+}