Linux version to stdOut
Print the Linux version to stdOut for subsequent checking by the server controller.
This commit is contained in:
parent
805bc5fb61
commit
9e1298550f
1 changed files with 2 additions and 1 deletions
|
|
@ -20,4 +20,5 @@ if [ "$(systemctl is-active docker)" != "active" ]; then \
|
||||||
sleep 5; sudo systemctl start docker; sleep 5;\
|
sleep 5; sudo systemctl start docker; sleep 5;\
|
||||||
fi;\
|
fi;\
|
||||||
if ! command -v sudo > /dev/null 2>&1; then echo "Failed to install sudo, command not found"; exit 1; fi;\
|
if ! command -v sudo > /dev/null 2>&1; then echo "Failed to install sudo, command not found"; exit 1; fi;\
|
||||||
docker --version
|
docker --version;\
|
||||||
|
uname -sr
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue