From af743bb68d31d7efab379c34e1c3f376158d70a5 Mon Sep 17 00:00:00 2001 From: Candace Bain Date: Wed, 9 Jan 2019 13:19:19 -0800 Subject: [PATCH] Fix to escape % character in systemd config for raid0Mounts --- builtin/files/userdata/cloud-config-worker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/files/userdata/cloud-config-worker b/builtin/files/userdata/cloud-config-worker index 82a604fa4..9e94a95f6 100644 --- a/builtin/files/userdata/cloud-config-worker +++ b/builtin/files/userdata/cloud-config-worker @@ -148,7 +148,7 @@ coreos: Type=oneshot ExecStartPre=/usr/sbin/pvcreate {{$raid0MountSpec.DeviceList}} ExecStartPre=/usr/sbin/vgcreate {{$raid0MountSpec.SystemdMountName}}_group {{$raid0MountSpec.DeviceList}} - ExecStartPre=/usr/sbin/lvcreate -l 100%VG --stripes {{$raid0MountSpec.NumDevices}} --stripesize 256 -n {{$raid0MountSpec.SystemdMountName}}_vol {{$raid0MountSpec.SystemdMountName}}_group + ExecStartPre=/usr/sbin/lvcreate -l 100%%VG --stripes {{$raid0MountSpec.NumDevices}} --stripesize 256 -n {{$raid0MountSpec.SystemdMountName}}_vol {{$raid0MountSpec.SystemdMountName}}_group ExecStart=-/usr/sbin/mkfs.ext4 /dev/{{$raid0MountSpec.SystemdMountName}}_group/{{$raid0MountSpec.SystemdMountName}}_vol [Install]