Skip to content

Commit f8f6b3a

Browse files
committed
Add instance storage discovery patterns in config
1 parent 265a297 commit f8f6b3a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • stemcell_builder/stages/bosh_aws_agent_settings

stemcell_builder/stages/bosh_aws_agent_settings/apply.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ cat > $chroot/var/vcap/bosh/agent.json <<JSON
1111
$(get_partitioner_type_mapping)
1212
"DevicePathResolutionType": "virtio",
1313
"CreatePartitionIfNoEphemeralDisk": true,
14-
"UseMonitIptablesFirewall": true
14+
"UseMonitIptablesFirewall": true,
15+
"InstanceStorageDevicePattern": "/dev/nvme*n1",
16+
"InstanceStorageManagedVolumePattern": "/dev/disk/by-id/nvme-Amazon_Elastic_Block_Store_*"
1517
}
1618
},
1719
"Infrastructure": {

0 commit comments

Comments
 (0)