mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
[ubuntu] post generation doc update (#3539)
This commit is contained in:
@@ -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
|
- 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
|
- 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:
|
The scripts are copied to the VHD during the image generation process to the following paths:
|
||||||
- Windows: `C:\post-generation`
|
- Windows: `C:\post-generation`
|
||||||
- Linux: `/opt/post-generation`
|
- Linux: `/opt/post-generation`
|
||||||
@@ -144,7 +146,7 @@ The scripts are copied to the VHD during the image generation process to the fol
|
|||||||
|
|
||||||
##### Ubuntu
|
##### 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
|
##### Windows
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user