summaryrefslogtreecommitdiff
path: root/cloudinit/transforms/rightscale_userdata.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/transforms/rightscale_userdata.py')
-rw-r--r--cloudinit/transforms/rightscale_userdata.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/transforms/rightscale_userdata.py b/cloudinit/transforms/rightscale_userdata.py
index 8dfd845f..dc06f9ec 100644
--- a/cloudinit/transforms/rightscale_userdata.py
+++ b/cloudinit/transforms/rightscale_userdata.py
@@ -78,6 +78,7 @@ def handle(name, _cfg, cloud, log, _args):
urls = mdict[my_hookname]
for (i, url) in enumerate(urls):
fname = os.path.join(scripts_d, "rightscale-%02i" % (i))
+ fname = cloud.paths.join(False, fname)
try:
resp = uhelp.readurl(url)
# Ensure its a valid http response (and something gotten)