We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5afb880 commit d6f7dd0Copy full SHA for d6f7dd0
1 file changed
contrib/gce/gce-user-data-template
@@ -6,11 +6,13 @@ coreos:
6
content: |
7
[Unit]
8
Description=Formats the ephemeral drive
9
+ ConditionPathExists=!/etc/gce-formatted
10
[Service]
11
Type=oneshot
12
RemainAfterExit=yes
13
ExecStart=/usr/sbin/wipefs -f /dev/disk/by-id/scsi-0Google_PersistentDisk_coredocker
14
ExecStart=/usr/sbin/mkfs.btrfs -f /dev/disk/by-id/scsi-0Google_PersistentDisk_coredocker
15
+ ExecStart=/bin/touch /etc/gce-formatted
16
- name: var-lib-docker.mount
17
command: start
18
0 commit comments