mc2-project / mc2-project/mc2

Remove duplicate username across global config and Azure YAML

Open
#143 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
C++
Stars
304
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Currently, the user has to specify a username for MC2, and a second username for authentication for launched Azure VMs.

We should consolidate this and have the user only input one username to simplify the configuration process - changes will have to made in the various places in the codebase that load in the config ssh_user field. Instead of loading in the Azure config ssh_user field, we should load in the global config user field.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the username entries in demo/config.yaml and demo/azure.yaml, then trace the codebase locations returned by the ssh_user search. Update those configuration loads so Azure VM authentication uses the global user field, and confirm that only one username is required in the configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, cpp
Domain
cloud, infrastructure
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.