Module Name:    src
Committed By:   hgutch
Date:           Wed Jul 13 18:51:03 UTC 2022

Modified Files:
        src/distrib/amd64/liveimage/emuimage: rc.conf.emuimage

Log Message:
Check for right sysctl node to make live image work OOTB on OpenStack:

  machdep.dmi.system-product = OpenStack Compute


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
    src/distrib/amd64/liveimage/emuimage/rc.conf.emuimage

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/amd64/liveimage/emuimage/rc.conf.emuimage
diff -u src/distrib/amd64/liveimage/emuimage/rc.conf.emuimage:1.1 src/distrib/amd64/liveimage/emuimage/rc.conf.emuimage:1.2
--- src/distrib/amd64/liveimage/emuimage/rc.conf.emuimage:1.1	Sat Jul 24 16:13:44 2021
+++ src/distrib/amd64/liveimage/emuimage/rc.conf.emuimage	Wed Jul 13 18:51:03 2022
@@ -1,4 +1,4 @@
-# $NetBSD: rc.conf.emuimage,v 1.1 2021/07/24 16:13:44 jmcneill Exp $
+# $NetBSD: rc.conf.emuimage,v 1.2 2022/07/13 18:51:03 hgutch Exp $
 
 is_ec2() {
 	val=NO
@@ -6,6 +6,7 @@ is_ec2() {
 	for node in machdep.dmi.system-vendor \
 		    machdep.dmi.system-version \
 		    machdep.dmi.bios-version \
+		    machdep.dmi.system-product \
 		    machdep.xen.version ; do
 		if /sbin/sysctl -q $node; then
 			nodeval="$(/sbin/sysctl -n $node | tr '[A-Z]' '[a-z]')"

Reply via email to