Removing the first parameter in the call to add_sources() seems to fix the issue:
=== modified file 'CloudConfig/cc_apt_update_upgrade.py' --- CloudConfig/cc_apt_update_upgrade.py 2013-01-16 22:05:40 +0000 +++ CloudConfig/cc_apt_update_upgrade.py 2013-01-16 22:10:42 +0000 @@ -72,7 +72,7 @@ params = mirrors params['RELEASE'] = release params['MIRROR'] = mirror - errors = add_sources(cloud, cfg['apt_sources'], params) + errors = add_sources(cfg['apt_sources'], params) for e in errors: log.warn("Source Error: %s\n" % ':'.join(e))
http://paste.ubuntu.com/1539261/
Removing the first parameter in the call to add_sources() seems to fix the issue:
=== modified file 'CloudConfig/ cc_apt_ update_ upgrade. py' cc_apt_ update_ upgrade. py 2013-01-16 22:05:40 +0000 cc_apt_ update_ upgrade. py 2013-01-16 22:10:42 +0000
params[ 'RELEASE' ] = release
params[ 'MIRROR' ] = mirror cfg['apt_ sources' ], params)
log. warn("Source Error: %s\n" % ':'.join(e))
--- CloudConfig/
+++ CloudConfig/
@@ -72,7 +72,7 @@
params = mirrors
- errors = add_sources(cloud, cfg['apt_sources'], params)
+ errors = add_sources(
for e in errors:
http:// paste.ubuntu. com/1539261/