diff --git a/ignition/base-install-supporting-services.bu b/ignition/base-install-supporting-services.bu index ab13adb..f65c136 100644 --- a/ignition/base-install-supporting-services.bu +++ b/ignition/base-install-supporting-services.bu @@ -63,7 +63,7 @@ systemd: [Service] Type=oneshot RemainAfterExit=yes - ExecStart=/usr/bin/docker run --rm -v /var/home/core:/home/step -e STEPPATH=/home/step/.step smallstep/step-cli step ca bootstrap --team mtls --team-url "https://mrmeeb.co.uk/step/<>" + ExecStart=/usr/bin/docker run --rm -v /var/home/core:/var/home/core -e STEPPATH=/var/home/core/.step smallstep/step-cli step ca bootstrap --team mtls --team-url "https://mrmeeb.co.uk/step/<>" ExecStart=/usr/bin/touch /var/lib/%N.stamp [Install] diff --git a/ignition/base-install-supporting-services.ign b/ignition/base-install-supporting-services.ign index 4256135..fe83a7d 100644 --- a/ignition/base-install-supporting-services.ign +++ b/ignition/base-install-supporting-services.ign @@ -74,7 +74,7 @@ "systemd": { "units": [ { - "contents": "[Unit]\nDescription=Bootstrap step-ca\nWants=network-online.target\nAfter=rpm-ostree-install-docker-ce.service\nBefore=zincati.service\nConditionPathExists=!/var/lib/%N.stamp\n\n[Service]\nType=oneshot\nRemainAfterExit=yes\nExecStart=/usr/bin/docker run --rm -v /var/home/core:/home/step -e STEPPATH=/home/step/.step smallstep/step-cli step ca bootstrap --team mtls --team-url \"https://mrmeeb.co.uk/step/\u003c\u003e\"\nExecStart=/usr/bin/touch /var/lib/%N.stamp\n\n[Install]\nWantedBy=multi-user.target", + "contents": "[Unit]\nDescription=Bootstrap step-ca\nWants=network-online.target\nAfter=rpm-ostree-install-docker-ce.service\nBefore=zincati.service\nConditionPathExists=!/var/lib/%N.stamp\n\n[Service]\nType=oneshot\nRemainAfterExit=yes\nExecStart=/usr/bin/docker run --rm -v /var/home/core:/var/home/core -e STEPPATH=/var/home/core/.step smallstep/step-cli step ca bootstrap --team mtls --team-url \"https://mrmeeb.co.uk/step/\u003c\u003e\"\nExecStart=/usr/bin/touch /var/lib/%N.stamp\n\n[Install]\nWantedBy=multi-user.target", "enabled": true, "name": "bootstrap-step-ca.service" }