@@ -52,15 +52,6 @@ print_message "" "" ""
52
52
print_message " " " Let's find out if your system has what it takes to run Warnet..." " "
53
53
print_message " " " " " "
54
54
55
- minikube_path=$( command -v minikube || true)
56
- if [ -n " $minikube_path " ]; then
57
- print_partial_message " ⭐️ Found " " minikube" " : $minikube_path " " $BOLD "
58
- else
59
- print_partial_message " 💥 Could not find " " minikube" " . Please follow this link to install it..." " $BOLD "
60
- print_message " " " https://minikube.sigs.k8s.io/docs/start/" " $BOLD "
61
- exit 127
62
- fi
63
-
64
55
kubectl_path=$( command -v kubectl || true)
65
56
if [ -n " $kubectl_path " ]; then
66
57
print_partial_message " ⭐️ Found " " kubectl" " : $kubectl_path " " $BOLD "
79
70
exit 127
80
71
fi
81
72
82
- current_user=$( whoami)
83
- if id -nG " $current_user " | grep -qw " docker" ; then
84
- print_partial_message " ⭐️ Found " " $current_user " " in the docker group" " $BOLD "
85
- else
86
- print_partial_message " 💥 Could not find " " $current_user " " in the docker group. Please add it like this..." " $BOLD "
87
- print_message " " " sudo usermod -aG docker $current_user && newgrp docker" " $BOLD "
88
- exit 1
89
- fi
90
-
91
73
helm_path=$( command -v helm || true)
92
74
if [ -n " $helm_path " ]; then
93
75
print_partial_message " ⭐️ Found " " helm" " : $helm_path " " $BOLD "
97
79
exit 127
98
80
fi
99
81
100
- just_path=$( command -v just || true)
101
- if [ -n " $just_path " ]; then
102
- print_partial_message " ⭐️ Found " " just" " : $just_path " " $BOLD "
103
- else
104
- print_partial_message " 💥 Could not find " " just" " . Please follow this link to install it..." " $BOLD "
105
- print_message " " " https://github.com/casey/just?tab=readme-ov-file#pre-built-binaries" " $BOLD "
106
- fi
107
-
108
82
python_path=$( command -v python3 || true)
109
83
if [ -n " $python_path " ]; then
110
84
print_partial_message " ⭐️ Found " " python3" " : $python_path " " $BOLD "
121
95
exit 127
122
96
fi
123
97
124
- bpf_status=$( grep CONFIG_BPF /boot/config-" $( uname -r) " || true)
125
- if [ -n " $bpf_status " ]; then
126
- config_bpf=$( echo " $bpf_status " | grep CONFIG_BPF=y)
127
- if [ " $config_bpf " = " CONFIG_BPF=y" ]; then
128
- print_partial_message " ⭐️ Found " " BPF" " : Berkeley Packet Filters appear enabled" " $BOLD "
129
- else
130
- print_partial_message " 💥 Could not find " " BPF" " . Please figure out how to enable Berkeley Packet Filters in your kernel." " $BOLD "
131
- exit 1
132
- fi
133
- else
134
- print_partial_message " 💥 Could not find " " BPF" " . Please figure out how to enable Berkeley Packet Filters in your kernel." " $BOLD "
135
- exit 1
136
- fi
98
+ echo " ✅ Everything needed found"
99
+
0 commit comments