Linux version to stdOut
print the Linux version to stdOut for subsequent checking by the server controller.
This commit is contained in:
parent
d61e2bc8f6
commit
8156ac7757
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;\
|
||||
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