Add details to log about installed packages

This commit is contained in:
Derek Higgins 2013-05-23 10:52:16 +01:00
parent d5f9abf600
commit 7477df21d7
1 changed files with 1 additions and 1 deletions

View File

@ -46,6 +46,6 @@ mark_time(){
# Get config files and logs from a host for debuging purposes
get_state_from_host(){
ssh_noprompt root@$BOOTSTRAP_IP "( set -x ; ps -ef ; df -h ; uptime ; netstat -lpn ; iptables-save ; brctl show ; ip addr) > /var/log/host_info.txt 2>&1 ;
ssh_noprompt root@$BOOTSTRAP_IP "( set -x ; ps -ef ; df -h ; uptime ; netstat -lpn ; iptables-save ; brctl show ; ip addr ; dpkg -l || rpm -qa) > /var/log/host_info.txt 2>&1 ;
tar -czf - /var/log /etc || true" > $TOCI_LOG_DIR/bootstraplogs.tgz
}