mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
Deal with unsupported os distro
This commit is contained in:
@@ -128,6 +128,10 @@ start_k8s(){
|
||||
ifconfig docker0 down
|
||||
apt-get install bridge-utils && brctl delbr docker0 && service docker restart
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported operations system $lsb_dist"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# sleep a little bit
|
||||
|
||||
@@ -130,6 +130,10 @@ start_k8s() {
|
||||
ifconfig docker0 down
|
||||
apt-get install bridge-utils && brctl delbr docker0 && service docker restart
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported operations system $lsb_dist"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# sleep a little bit
|
||||
|
||||
Reference in New Issue
Block a user