Skip to content

Commit

Permalink
[ubuntu] post generation doc update (actions#3539)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darleev committed Jun 8, 2021
1 parent a56b10c commit f66fa57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/create-image-and-azure-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ The user, created during the image generation, does not exist in the result VHD
- Windows: https://github.com/actions/virtual-environments/tree/main/images/win/post-generation
- Linux: https://github.com/actions/virtual-environments/tree/main/images/linux/post-generation

**Note:** The default user for Linux should have `sudo privileges`.

The scripts are copied to the VHD during the image generation process to the following paths:
- Windows: `C:\post-generation`
- Linux: `/opt/post-generation`
Expand All @@ -144,7 +146,7 @@ The scripts are copied to the VHD during the image generation process to the fol

##### Ubuntu

find /opt/post-generation -mindepth 1 -maxdepth 1 -type f -name '*.sh' -exec bash {} \;
sudo su -c "find /opt/post-generation -mindepth 1 -maxdepth 1 -type f -name '*.sh' -exec bash {} \;"

##### Windows

Expand Down

0 comments on commit f66fa57

Please sign in to comment.