Fix device model for VMware
authorGrant Slater <git@firefishy.com>
Wed, 27 Nov 2019 18:20:56 +0000 (18:20 +0000)
committerGrant Slater <git@firefishy.com>
Wed, 27 Nov 2019 18:21:03 +0000 (18:21 +0000)
cookbooks/devices/templates/default/udev.rules.erb

index 2b9687817148fe9116cdacac967a2bfff321a31d..255909fdec3b6693bed8877e0fec8ba7e2dbd89d 100644 (file)
@@ -7,8 +7,8 @@ ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="HP", ENV{ID_MODEL}=="LOGICAL
 ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="HP", ENV{ID_MODEL}=="LOGICAL_VOLUME", ATTR{queue/rq_affinity}="2"
 
 # VMware Virtual disk configuration
-ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="VMware", ENV{ID_MODEL}=="Virtual disk", ATTR{queue/read_ahead_kb}="4096"
-ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="VMware", ENV{ID_MODEL}=="Virtual disk", ATTR{queue/scheduler}="noop"
+ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="VMware", ENV{ID_MODEL}=="Virtual_disk", ATTR{queue/read_ahead_kb}="4096"
+ACTION=="add", SUBSYSTEM=="block", ENV{ID_VENDOR}=="VMware", ENV{ID_MODEL}=="Virtual_disk", ATTR{queue/scheduler}="noop"
 
 <% node[:devices].each do |name,device| -%>