Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1526 from cndbain/master
Browse files Browse the repository at this point in the history
Fix to escape % character in systemd config for raid0Mounts
  • Loading branch information
k8s-ci-robot authored Jan 9, 2019
2 parents 0f5e530 + af743bb commit a9183dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/files/userdata/cloud-config-worker
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a9183dd

Please sign in to comment.