Skip to content

settings.json in document directory #712

Description

Currently, AirSim reads the settings.json from the "my documents" folder on windows, and the user's documents folder in Linux. This creates an issue when attempting to run AirSim in Azure under a service account that does not have access to these folders. For example, when running AirSim with BatchAI, the jobs are run under the _azurebatch service account that does not have write access to anywhere on the disk (so the settings.json cannot be generated automatically during the job, and needs to be manually populated on every machine in the cluster :( ).

I have two proposals:

  1. Allow the user to specify settings.json on the command line
  2. First look in the user's documents folder. Then, if the settings.json is not found, look in the directory of the executable. Then throw error if not found in either of those places.

Of these, I'd prefer #2. If Shital Shah (@sytelus) approves, I can work on implementation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions