Skip to content

azure-linux example template - #3348

Merged
spikecurtis merged 4 commits into
mainfrom
spike/3042_azure_example_template
Aug 8, 2022
Merged

spikecurtis merged 4 commits into
mainfrom
spike/3042_azure_example_template

Conversation

@spikecurtis

@spikecurtis spikecurtis commented Aug 1, 2022 •

Copy link
Copy Markdown
Collaborator

Fixes #2714

Signed-off-by: Spike Curtis <spike@coder.com>
@spikecurtis
spikecurtis requested a review from a team August 1, 2022 22:50
Comment thread examples/templates/azure-linux/main.tf Resolved
Comment thread examples/templates/azure-linux/main.tf Resolved
Comment thread examples/templates/azure-linux/main.tf Resolved
Comment thread examples/templates/azure-linux/main.tf Resolved
Comment thread examples/templates/azure-linux/main.tf Resolved
[Install]
WantedBy=multi-user.target
runcmd:
- chown ${username}:${username} /home/${username}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- chown ${username}:${username} /home/${username}
- chown -R ${username}:${username} /home/${username}

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I worry this could rewrite ownership in unintended ways, especially around groups

Signed-off-by: Spike Curtis <spike@coder.com>
Signed-off-by: Spike Curtis <spike@coder.com>
@spikecurtis
spikecurtis merged commit 049e7cb into main Aug 8, 2022
@spikecurtis
spikecurtis deleted the spike/3042_azure_example_template branch August 8, 2022 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an example template for Azure

3 participants