cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wido den Hollander <w...@widodh.nl>
Subject Re: cloud-init issue
Date Mon, 25 Aug 2014 11:16:01 GMT
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
>


Mime
View raw message