'Generate a spinnaker-local.yml file without environment variables refs'

@staticmethod
def maybe_generate_clean_user_local():

    user_dir = DevInstallationParameters.USER_CONFIG_DIR
    user_config_path = os.path.join(user_dir, 'spinnaker-local.yml')
    if os.path.exists(user_config_path):
        return
    if (not os.path.exists(user_dir)):
        os.mkdir(user_dir)
    with open('{config_dir}/default-spinnaker-local.yml'.format(config_dir=DevInstallationParameters.INSTALLED_CONFIG_DIR), 'r') as f:
        content = f.read()
    content = populate_aws_yml(content)
    content = populate_google_yml(content)
    with open(user_config_path, 'w') as f:
        f.write(content)
    os.chmod(user_config_path, 384)
    change_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'install', 'change_cassandra.sh')
    got = run_quick(((change_path + '    --echo=inMemory    --front50=gcs') + '    --change_defaults=false    --change_local=true'), echo=False)
