This is an automated email from the ASF dual-hosted git repository.
bsalzano pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless.git
The following commit(s) were added to refs/heads/main by this push:
new 101ed6b update clodinit (#153)
101ed6b is described below
commit 101ed6bdabaebb1380fd7cfe8788129bc8887dc8
Author: Michele Sciabarra <[email protected]>
AuthorDate: Sat Jul 19 14:40:08 2025 +0200
update clodinit (#153)
---
.gitmodules | 2 +-
README.md | 4 ++--
cloud-init.yaml | 19 ++++++++++++++++++-
task => olaris | 0
operator | 2 +-
site | 2 +-
6 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/.gitmodules b/.gitmodules
index 902e9a3..51737e0 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -15,7 +15,7 @@
url = https://github.com/apache/openserverless-testing
branch = main
[submodule "task"]
- path = task
+ path = olaris
url = https://github.com/apache/openserverless-task
branch = main
[submodule "runtimes"]
diff --git a/README.md b/README.md
index cb182f4..236ee1e 100644
--- a/README.md
+++ b/README.md
@@ -39,7 +39,7 @@ The steps and the commands to install the development VM are
the same in Linux,
Once you have `multipass` installed, open a terminal or powershell and type
the following command:
```
-multipass launch -nopsv -c4 -d20g -m16g --cloud-init
https://raw.githubusercontent.com/apache/openserverless/main/cloud-init.yaml
+multipass launch -nopsv -c6 -d40g -m16g --cloud-init
https://raw.githubusercontent.com/apache/openserverless/main/cloud-init.yaml
```
Wait until the vm is launched and you see messages like `Launched:
openserverless` (message can be different depending on multipass version
effectively installed).
@@ -59,7 +59,7 @@ If you need administrative access to the vm, copy the
`.kube/config` file inside
```
mkdir $HOME/.kube
# warning this overwrites an exiting kube config
-multipass exec opsv "cat .kube/config" >$HOME/.kube/config
+multipass exec opsv cat .kube/config >$HOME/.kube/config
# you need kubectl installed
kubectl get nodes
```
diff --git a/cloud-init.yaml b/cloud-init.yaml
index 4b543da..d0e0244 100644
--- a/cloud-init.yaml
+++ b/cloud-init.yaml
@@ -33,8 +33,25 @@ write_files:
cat /etc/rancher/k3s/k3s.yaml "$HOME/.kube/config" | sed -e 's!server:
https://127.0.0.1:!server: https://'$IP':!' >"$HOME/.kube/config"
echo "export KUBECONFIG=/home/$USR/.kube/config" >>$HOME/.bashrc
chown -Rvf "$USR" /home/$USR
+ #sudo -u $USR bash /etc/install-opsv.sh
echo "== DONE =="
-
+
+ - path: /etc/install-opsv.sh
+ permissions: '0755'
+ owner: root:root
+ content: |
+ curl -sL bit.ly/get-ops | bash
+ # TODO: use the released version not main
+ echo "export OPS_BRANCH=main" >> ~/.bashrc
+ source ~/.bashrc
+ ops -t
+ ops -info
+ # configure opsv
+ ops config slim
+ IP="$(ip -o -4 addr | awk '$2 ~/en/ { print $4}' | cut -d/ -f1)"
+ ops config apihost "$IP.nip.io"
+ ops setup cluster
+
- path: /home/ubuntu/waitready
permissions: '0755'
owner: ubuntu:ubuntu
diff --git a/task b/olaris
similarity index 100%
rename from task
rename to olaris
diff --git a/operator b/operator
index cc71248..07f3600 160000
--- a/operator
+++ b/operator
@@ -1 +1 @@
-Subproject commit cc71248fefb806c52cf82fa50047eb2759930363
+Subproject commit 07f3600dd906583374c6ec36051e7c8694b594a7
diff --git a/site b/site
index 7412617..17e9cf7 160000
--- a/site
+++ b/site
@@ -1 +1 @@
-Subproject commit 7412617826529eed78ab06dda43ff0bc6af47396
+Subproject commit 17e9cf7d871c9c8acd72098d3b6f9dd69974a874