Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions data/data/agent/files/usr/local/bin/agent-gather
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ function gather_storage_data() {
cp /etc/mtab "${ARTIFACTS_DIR}/etc/mtab"
( >&2 echo -n ".")
lsblk > "${ARTIFACTS_DIR}/lsblk"
( >&2 echo -n ".")
df -h > "${ARTIFACTS_DIR}/df"
( >&2 echo " Done")
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[Unit]
Description=Node Image Pull
Wants=var-ostree\x2dcontainer.mount
Requires=network.target NetworkManager.service
After=network.target
After=network.target var-ostree\x2dcontainer.mount

[Service]
Type=oneshot
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Unit]
Requires=run-ephemeral.mount
After=run-ephemeral.mount
ConditionPathExists=/run/ostree-live

[Mount]
What=tmpfs
Where=/var/ostree-container
Type=tmpfs
Options=size=4G
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ ostree checkout --repo "${ostree_repo}" ${hardlink} coreos/node-image "${ostree_

# in the assisted-installer case, nuke the temporary repo to save RAM
if grep -q coreos.liveiso= /proc/cmdline; then
df -h "${ostree_repo}"
echo "Deleting temporary repo"
rm -rf "${ostree_repo}"
df -h "${ostree_checkout}"
fi