[docker] Add MCP_DOCKER_TAG env var
[fuel.git] / mcp / scripts / sysinfo_print.sh
1 #!/bin/bash -ex
2 ##############################################################################
3 # Copyright (c) 2017 Mirantis Inc., Enea AB and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 #
10 # Collect jump server system information for deploy debugging
11 #
12
13 # HW info
14 cat /proc/cpuinfo
15 free -mh
16 df -h
17
18 # Network info
19 brctl show
20 ip a
21 route -n
22 sudo iptables -S
23
24 # Distro & pkg info
25 cat /etc/*-release
26 uname -a
27
28 # Misc info
29 sudo losetup -a