mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
Deal with unsupported os distro
This commit is contained in:
parent
22ab92bd16
commit
fcfed739b9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user