blob: 3fc2cf906439d1805923859ac7207e2c12033f49 [file] [log] [blame]
#!/bin/bash -xe
# Save some basic debug information.
mkdir -p /var/log/bootstrap_logs/
pushd /var/log/bootstrap_logs/
dpkg-query -W -f='${Package}=${Version}\n' | sort -u |tee -a vcp_initial_pkgs.log
# In case, salt_cleanup or other have been processed
sort -u vcp_initial_pkgs.log >> vcp_initial_pkgs.log_tmp
mv -v vcp_initial_pkgs.log_tmp vcp_initial_pkgs.log
popd