Add firewall configuration
This commit is contained in:
@@ -7,8 +7,8 @@ Type=oneshot
|
||||
ExecStart=/usr/libexec/rke2/create_rke_user.sh
|
||||
|
||||
# Disable and mask the service after successful execution
|
||||
ExecStartPost=-/bin/systemctl disable --now create_rke_user.service
|
||||
ExecStartPost=-/bin/systemctl mask --now create_rke_user.service
|
||||
ExecStartPost=-/bin/systemctl disable create_rke_user.service
|
||||
ExecStartPost=-/bin/systemctl mask create_rke_user.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -12,4 +12,3 @@ echo "Adding 'rke' to docker group"
|
||||
usermod -aG docker rke
|
||||
|
||||
echo "Done"
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user