CI: fetch systemd configuration including kolla-generated unit files
Change-Id: I4ea22dbe43cd4780335df5cf0eee5c4339855fac
This commit is contained in:
parent
c7b0ffd266
commit
09507a3824
@ -65,6 +65,10 @@ copy_logs() {
|
|||||||
cp -r /etc/apt/sources.list.d/ ${LOG_DIR}/system_logs/
|
cp -r /etc/apt/sources.list.d/ ${LOG_DIR}/system_logs/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -d /etc/systemd/ ]]; then
|
||||||
|
cp -rL /etc/systemd/ ${LOG_DIR}/system_logs/
|
||||||
|
fi
|
||||||
|
|
||||||
df -h > ${LOG_DIR}/system_logs/df.txt
|
df -h > ${LOG_DIR}/system_logs/df.txt
|
||||||
# Gather disk usage statistics for files and directories larger than 1MB
|
# Gather disk usage statistics for files and directories larger than 1MB
|
||||||
du -d 5 -hx / | sort -hr | grep '^[0-9\.]*[MGT]' > ${LOG_DIR}/system_logs/du.txt
|
du -d 5 -hx / | sort -hr | grep '^[0-9\.]*[MGT]' > ${LOG_DIR}/system_logs/du.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user