Skip to content
Discussion options

You must be logged in to vote

Hey @mahdiadnan ,

I raised similar issues before:

There is a way to customize the SSVM when it loads a compressed archive at startup. This is what I’d put in the “non-clean way” category you mentioned. See steps:

cd /usr/share/cloudstack-common/vms/
cp cloud-scripts.tgz cloud-scripts.tgz_bkp
mkdir tmp
cd tmp/
tar xzvf ../cloud-scripts.tgz

  #   ADD YOUR CHANGES HERE

rm ../cloud-scripts.tgz
tar -czvf ../cloud-scripts.tgz *
cd ..
rm -rf tmp

The downside. It requires manual edits to the .tgz, which get overwritten whenever cloudstack-agent is updated.

In our setup, we still use this method, because we want to control access to /copy* on reverse-proxy rule…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by DaanHoogland
Comment options

You must be logged in to vote
1 reply
@daviftorres
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants