# Generated by Butane; do not edit apiVersion: machineconfiguration.openshift.io/v1 kind: MachineConfig metadata: labels: machineconfiguration.openshift.io/role: master name: 91-master-lv-cinder-volumes spec: config: ignition: version: 3.4.0 storage: disks: - device: /dev/vdc wipeTable: true - device: /dev/vdd wipeTable: true - device: /dev/vde wipeTable: true systemd: units: - contents: | [Unit] Description=Create logical volume with name cinder-volumes. After=var.mount systemd-udev-settle.service [Service] Type=oneshot ExecCondition=/bin/bash -c '! /usr/sbin/vgdisplay cinder-volumes' ExecStartPre=/usr/sbin/pvcreate /dev/vdc /dev/vdd /dev/vde ExecStart=/usr/sbin/vgcreate cinder-volumes /dev/vdc /dev/vdd /dev/vde RemainAfterExit=yes [Install] WantedBy=multi-user.target enabled: true name: lv-cinder-volumes.service