
The expected GCE PD device name is google-{name of disk}. This is because standard GCE images contain a udev rules file which renames the GCE PD device to google-{name of disk} https://github.com/GoogleCloudPlatform/compute-image-packages/blob/master/google-startup-scripts/lib/udev/rules.d/65-gce-disk-naming.rules. In custome images which do not have that udev rules file the device gets the default rules apply http://cgit.freedesktop.org/systemd/systemd/tree/rules/60-persistent-storage.rules and the GCE PD device ends up with a name which looks like scsi-0Google_PersistentDisk_{name of disk} This patch adds support for that scenario. Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>