Add Ubuntu scripts
This commit is contained in:
parent
990b39cb53
commit
b2a29a661c
@ -9,7 +9,7 @@ showHelp() {
|
||||
echo "init.sh"
|
||||
echo ""
|
||||
echo "use :"
|
||||
echo "sh init.sh [options]"
|
||||
echo "bash init.sh [options]"
|
||||
echo " -b | --base-url url"
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,7 @@ showHelp() {
|
||||
echo "ubuntu.sh"
|
||||
echo ""
|
||||
echo "use :"
|
||||
echo "sh ubuntu.sh [options]"
|
||||
echo "bash ubuntu.sh [options]"
|
||||
echo " -b | --base-url url"
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ main() {
|
||||
apt update -y
|
||||
apt install -y wget
|
||||
wget -O /tmp/init.sh "${BASE_URL}"/ubuntu-"${UBUNTUVER}"/init.sh
|
||||
sh /tmp/init.sh -b "${BASE_URL}"
|
||||
bash /tmp/init.sh -b "${BASE_URL}"
|
||||
rm /tmp/init.sh
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user