diff --git a/data/data/bootstrap/files/etc/systemd/system/node-image-pull.service b/data/data/bootstrap/files/etc/systemd/system/node-image-pull.service index 4c5e69333d..3dc9d861ca 100644 --- a/data/data/bootstrap/files/etc/systemd/system/node-image-pull.service +++ b/data/data/bootstrap/files/etc/systemd/system/node-image-pull.service @@ -1,8 +1,8 @@ [Unit] Description=Node Image Pull -Wants=var-ostree\x2dcontainer.mount +Wants=var-ostreecontainer.mount Requires=network.target NetworkManager.service -After=network.target var-ostree\x2dcontainer.mount +After=network.target var-ostreecontainer.mount [Service] Type=oneshot diff --git "a/data/data/bootstrap/files/etc/systemd/system/var-ostree\\x2dcontainer.mount" b/data/data/bootstrap/files/etc/systemd/system/var-ostreecontainer.mount similarity index 83% rename from "data/data/bootstrap/files/etc/systemd/system/var-ostree\\x2dcontainer.mount" rename to data/data/bootstrap/files/etc/systemd/system/var-ostreecontainer.mount index 674eb2ba76..1c793bc337 100644 --- "a/data/data/bootstrap/files/etc/systemd/system/var-ostree\\x2dcontainer.mount" +++ b/data/data/bootstrap/files/etc/systemd/system/var-ostreecontainer.mount @@ -5,6 +5,6 @@ ConditionPathExists=/run/ostree-live [Mount] What=tmpfs -Where=/var/ostree-container +Where=/var/ostreecontainer Type=tmpfs Options=size=4G diff --git a/data/data/bootstrap/files/usr/local/bin/node-image-overlay.sh b/data/data/bootstrap/files/usr/local/bin/node-image-overlay.sh index 8db8548515..ec955768d9 100755 --- a/data/data/bootstrap/files/usr/local/bin/node-image-overlay.sh +++ b/data/data/bootstrap/files/usr/local/bin/node-image-overlay.sh @@ -3,7 +3,7 @@ set -euo pipefail ostree_checkout=/ostree/repo/tmp/node-image if [ ! -d "${ostree_checkout}" ]; then - ostree_checkout=/var/ostree-container/checkout + ostree_checkout=/var/ostreecontainer/checkout fi echo "Overlaying node image content" diff --git a/data/data/bootstrap/files/usr/local/bin/node-image-pull.sh.template b/data/data/bootstrap/files/usr/local/bin/node-image-pull.sh.template index 7b321c3c9d..87dce6a3c4 100755 --- a/data/data/bootstrap/files/usr/local/bin/node-image-pull.sh.template +++ b/data/data/bootstrap/files/usr/local/bin/node-image-pull.sh.template @@ -29,8 +29,8 @@ ostree_checkout="${ostree_repo}/tmp/node-image" hardlink='-H' # this is the CoreOS API for "are we in a live environment", i.e. PXE or ISO if test -f /run/ostree-live; then - ostree_repo=/var/ostree-container/repo - ostree_checkout=/var/ostree-container/checkout + ostree_repo=/var/ostreecontainer/repo + ostree_checkout=/var/ostreecontainer/checkout mkdir -p "${ostree_repo}" echo "In live environment; creating temporary repo to pull node image" ostree init --mode=bare --repo="${ostree_repo}"