This pull request is big, so I recommend to check changes per commit.
The biggest visual change is in azure.sh, where I restructured the code using functions to ease readability and maintenance in the future (well, that was original the idea, we will see in the PR review).
The second biggest change is an addition of a new functionality to azure.sh script, which is to check and cleanup image galleries and their contents. More information can be found on each commit comment.
Some minor changes include code style reformatting and adding double quotes where recommended as per bash conventions. Others are minor typo fixes.
This pull request is big, so I recommend to check changes per commit.
The biggest visual change is in azure.sh, where I restructured the code using functions to ease readability and maintenance in the future (well, that was original the idea, we will see in the PR review).
The second biggest change is an addition of a new functionality to azure.sh script, which is to check and cleanup image galleries and their contents. More information can be found on each commit comment.
Some minor changes include code style reformatting and adding double quotes where recommended as per bash conventions. Others are minor typo fixes.