On 08/25/2014 12:12 PM, Sebastien Goasguen wrote:
Folks,
There is an outstanding issue with cloud-init compatibility.
The VR serves the instance metadata through a web server but there is a
trailing slash issue:
https://issues.apache.org/jira/browse/CLOUDSTACK-7405
Does anyone know where the settings for this web server are located in the
cloudstack code ?
So I think that is done in
systemvm/patches/debian/config/opt/cloud/bin/vmdata.py
It adds a RewriteRule to the .htaccess like:
entry = "RewriteRule ^meta-data/(.+)$ ../" + folder +
"/%{REMOTE_ADDR}/$1 [L,NC,QSA]"
I'm not a big mod_rewrite guru however.
Wido
-sebastien