You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
423 B
27 lines
423 B
#!/bin/bash
|
|
|
|
set -o xtrace
|
|
|
|
function dump_node_info {
|
|
# NOTE(SamYaple): function for debugging gate
|
|
set +o errexit
|
|
local OLD_PATH="${PATH}"
|
|
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
sudo parted -l
|
|
|
|
sudo mount
|
|
|
|
df -h
|
|
|
|
uname -a
|
|
|
|
cat /etc/*release*
|
|
|
|
cat /proc/meminfo
|
|
|
|
PATH="${OLD_PATH}"
|
|
set -o errexit
|
|
}
|
|
|
|
(dump_node_info 2>&1) > node_info_$(date +%s)
|