mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 06:27:39 +00:00
ci: k8s: rke2: Use sudo to call systemd
Otherwise we'll face the following error: ``` Failed to enable unit: Interactive authentication required. ``` Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
03b82e8484
commit
07a6e63a6b
@ -168,7 +168,7 @@ function deploy_k3s() {
|
||||
function deploy_rke2() {
|
||||
curl -sfL https://get.rke2.io | sudo sh -
|
||||
|
||||
systemctl enable --now rke2-server.service
|
||||
sudo systemctl enable --now rke2-server.service
|
||||
|
||||
# This is an arbitrary value that came up from local tests
|
||||
sleep 120s
|
||||
|
Loading…
Reference in New Issue
Block a user