From 7434e3306d2526173c92ab57db30a0812cc47717 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 19 Jan 2011 19:46:15 +0000 Subject: convert 'cachedir' to 'seeddir', move cloud_config, scripts to instance - cloud_config and scripts now live in instance directory - cachedir is now more correctly named 'seeddir' --- cloudinit/CloudConfig/cc_runcmd.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cloudinit/CloudConfig/cc_runcmd.py') diff --git a/cloudinit/CloudConfig/cc_runcmd.py b/cloudinit/CloudConfig/cc_runcmd.py index 969f6394..afa7a441 100644 --- a/cloudinit/CloudConfig/cc_runcmd.py +++ b/cloudinit/CloudConfig/cc_runcmd.py @@ -21,8 +21,7 @@ import cloudinit.util as util def handle(name,cfg,cloud,log,args): if not cfg.has_key("runcmd"): return - outfile="%s/%s/runcmd" % \ - (cloudinit.user_scripts_dir, cloud.get_instance_id()) + outfile="%s/runcmd" % cloud.get_ipath('scripts') content="#!/bin/sh\n" escaped="%s%s%s%s" % ( "'", '\\', "'", "'" ) -- cgit v1.2.3