COCOS-346 - Explore cloud init for Cloud setup#357
Conversation
e3365c9 to
7873580
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #357 +/- ##
=======================================
Coverage 61.13% 61.13%
=======================================
Files 54 54
Lines 4371 4371
=======================================
Hits 2672 2672
Misses 1419 1419
Partials 280 280 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Jilks Smith <smithjilks@gmail.com>
7873580 to
24ebef1
Compare
| @@ -0,0 +1,2 @@ | |||
| instance-id: iid-cocos-vm | |||
| local-hostname: cocos-vm No newline at end of file | |||
There was a problem hiding this comment.
| local-hostname: cocos-vm | |
| local-hostname: cocos-vm | |
| -device vhost-vsock-pci,id=vhost-vsock-pci0,guest-cid=198 \ | ||
| -object sev-snp-guest,id=sev0,cbitpos=51,reduced-phys-bits=1 \ | ||
| -drive if=pflash,format=raw,unit=0,file=$OVMF_CODE,readonly=on \ | ||
| -drive if=pflash,format=raw,unit=1,file=$OVMF_VARS No newline at end of file |
There was a problem hiding this comment.
| -drive if=pflash,format=raw,unit=1,file=$OVMF_VARS | |
| -drive if=pflash,format=raw,unit=1,file=$OVMF_VARS | |
| - systemctl enable cocos-agent.service | ||
| - systemctl start cocos-agent.service | ||
|
|
||
| final_message: "Cocos agent setup complete and service started successfully." No newline at end of file |
There was a problem hiding this comment.
| final_message: "Cocos agent setup complete and service started successfully." | |
| final_message: "Cocos agent setup complete and service started successfully." | |
| - git clone https://github.com/ultravioletrs/cocos.git /home/cocos_user/cocos | ||
|
|
||
| # Download and Install the agent binary | ||
| - wget -q https://github.com/ultravioletrs/cocos/releases/download/v0.3.1/cocos-agent |
There was a problem hiding this comment.
use some way to set this variable
There was a problem hiding this comment.
also include docker installation, also set mtls cert files and env files
Signed-off-by: Jilks Smith <smithjilks@gmail.com>
dd60c71 to
5091671
Compare
Signed-off-by: Jilks Smith <smithjilks@gmail.com>
Signed-off-by: Jilks Smith <smithjilks@gmail.com>
5091671 to
dff9f1c
Compare
…to cocos-346-explore-cloud-init # Conflicts: # hal/cloud/qemu.sh
Signed-off-by: Jilks Smith <smithjilks@gmail.com>
Signed-off-by: Jilks Smith <smithjilks@gmail.com>
251448a to
b68819c
Compare
dborovcanin
left a comment
There was a problem hiding this comment.
Can we have a basic README here with an explanation on how to use these scripts?
Signed-off-by: Jilks Smith <smithjilks@gmail.com>
Signed-off-by: Jilks Smith <smithjilks@gmail.com>
8af5b07 to
b348602
Compare
| buildroot/output/images/bzImage | ||
| buildroot/output/images/rootfs.cpio.gz | ||
|
|
||
| cocos/build/cocos-agent |
There was a problem hiding this comment.
is there a step to build these binaries?
There was a problem hiding this comment.
Yes. There is.
There is a make run.
| make BR2_EXTERNAL=../cocos/hal/linux cocos_defconfig | ||
| make | ||
|
|
||
| - name: Build cocos |
There was a problem hiding this comment.
Here is the run.
What type of PR is this?
This is a feature because it adds cloud init config for EOS for cocos.
What does this do?
It sdds cloud init config for EOS for cocos.
Which issue(s) does this PR fix/relate to?
Resolves #346
Have you included tests for your changes?
No
Did you document any new/modified feature?
No.
Notes