Update install.sh

This commit is contained in:
Janson 2022-03-29 11:43:19 +08:00 committed by GitHub
parent 131b5f1c12
commit c56b0f9e57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,6 +12,10 @@ image_name=`uci get ubuntu.@ubuntu[0].image 2>/dev/null`
DOCKERPATH=`uci get dockerman.local.daemon_data_root`
result=`findmnt -T $DOCKERPATH | grep -c /dev/sd`
#ignore the disk check in x86
if echo `uname -m` | grep -Eqi 'x86_64'; then
result=1
fi
get_image(){
local version=`uci get ubuntu.@ubuntu[0].version 2>/dev/null`