You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openserverless.apache.org by ms...@apache.org on 2024/07/07 10:40:15 UTC

(openserverless) 09/23: fix

This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless.git

commit 4fd020337bf696ccc4c4b933be3aecf00eb49579
Author: Michele Sciabarra <mi...@nuvolaris.io>
AuthorDate: Sat Jul 6 10:59:44 2024 +0200

    fix
---
 cloud-init.yaml | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/cloud-init.yaml b/cloud-init.yaml
index d0d4163..fc2fdd4 100644
--- a/cloud-init.yaml
+++ b/cloud-init.yaml
@@ -1,17 +1,15 @@
 #cloud-config
-
 apt_update: true
 apt_upgrade: true
-
 runcmd:
- - >
-   curl -sfL https://get.k3s.io | sh -
- - >
-   curl -sfL https://direnv.net/install.sh | bash
- - |
-   USR="$(getent passwd 1000 | awk -F: '{print $1}')"
-   mkdir -p "/home/$USR/.kube"
-   cp /etc/rancher/k3s/k3s.yaml "/home/$USR/.kube/config"
-   chown -Rvf "$USR" "/home/$USR/.kube"
-   curl -L https://nixos.org/nix/install | sudo -u "$USR"  sh -s -- --daemon
+  - >
+    curl -sfL https://get.k3s.io | sh -
+  - >
+    curl -sfL https://direnv.net/install.sh | bash
+  - |
+    USR="$(getent passwd 1000 | awk -F: '{print $1}')"
+    mkdir -p "/home/$USR/.kube"
+    cp /etc/rancher/k3s/k3s.yaml "/home/$USR/.kube/config"
+    chown -Rvf "$USR" "/home/$USR/.kube"
+    curl -L https://nixos.org/nix/install | sudo -u "$USR"  sh -s -- --daemon
  
\ No newline at end of file