only write landscape config if user-data provided
This commit is contained in:
@@ -79,7 +79,8 @@ def handle(_name, cfg, cloud, log, _args):
|
|||||||
util.write_file(lsc_client_fn, contents.getvalue())
|
util.write_file(lsc_client_fn, contents.getvalue())
|
||||||
log.debug("Wrote landscape config file to %s", lsc_client_fn)
|
log.debug("Wrote landscape config file to %s", lsc_client_fn)
|
||||||
|
|
||||||
util.write_file(LS_DEFAULT_FILE, "RUN=1\n")
|
if ls_cloudcfg:
|
||||||
|
util.write_file(LS_DEFAULT_FILE, "RUN=1\n")
|
||||||
|
|
||||||
|
|
||||||
def merge_together(objs):
|
def merge_together(objs):
|
||||||
|
|||||||
Reference in New Issue
Block a user