You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: devops/e2e/cloudtest/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,4 +18,4 @@ In addition to performing distro specific setup for [Preparing Linux for imaging
18
18
19
19
# Azure Helpers
20
20
21
-
The PowerShell module [AzureInfrastructureHelpers.psm1](./AzureInfrastructureHelpers.psm1) provides the `Create-AzureManagedDisk` PowerShell cmdlet which helps onboard a generalized Hyper-V Linux VHD into an Azure Compute Gallery. See the internal documentation for full onboarding instructions.
21
+
The PowerShell module [AzureInfrastructureHelpers.psm1](./AzureInfrastructureHelpers.psm1) provides the `Create-AzureManagedDisk` PowerShell cmdlet which helps onboard a generalized Hyper-V Linux VHD into an Azure Compute Gallery. See the internal documentation for full onboarding instructions ([Onboarding new VM Images](https://eng.ms/docs/cloud-ai-platform/azure-edge-platform-aep/aep-security/ens-enterprise-and-security/commercial-fist/edge-security-platform-documentation/teams/est/osconfig/linux/readme#onboarding-new-vm-images)).
Copy file name to clipboardexpand all lines: src/tests/universal-nrp-e2e/README.md
+9-12
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,13 @@ To perform tests on VMs the `StartVMTest.sh` allows you to perform tests on spec
15
15
- cloud-image-utils
16
16
17
17
## Example
18
-
The following example performs tests on an [Ubuntu Noble cloud image](https://cloud-images.ubuntu.com/noble/current/) on the AzureLinuxBaseline.zip (built in directory tree) which has 168 resources defined.
18
+
The following example performs tests on an [Ubuntu Noble cloud image](https://cloud-images.ubuntu.com/noble/current/) on the AzureLinuxBaseline.zip (built in directory tree).
Once completed, log archives are created under `_<distro-image>` directory (in this case __focal-server-cloudimg-amd64.img_) which contain the JUnit test report along with the osconfig logs contained under `/var/log/osconfig*`
27
27
@@ -35,7 +35,7 @@ You need to copy over the following files onto the target machine:
Although `StartLocalTest.sh` can be used to simply test a policy package, it can also invoke "Stages" which is used by the `StartVMTest.sh` to orchestrate tests on the VM through its ssh session and provide accurate exit codes for error reporting. It also provides the `-g` flag used to [generalize the image](#generalizing-a-vm-image) which is useful when preparing an image that will be reused/shared.
-i Image Path: Path to the image (raw or qcow2 format)
96
94
-p Policy Package: Path to the policy package
97
-
-c Resource Count: The number of resources to validate, tests will fail if this doesn't match (Default: 0)
98
95
-m VM Memory (Megabytes): Size of VMs RAM (Default: 512)
99
96
-r Remediation: Perform remediation flag (Default: false)
100
97
-g Generalize Flag: Generalize the current machine for tests. Performs the following:
101
98
- Remove logs and tmp directories
102
99
- Clean package management cache
103
100
- Clean cloud-init flags to reset cloud-init to initial-state
104
101
-l Log Directory: Directory used to place output logs
105
-
-d Debug Mode: VM stays up for debugging (Default: false)
102
+
-d Debug Mode Flag: VM stays up for debugging (Default: false)
106
103
```
107
104
### VM Image Sources
108
105
It's preferable for images to be "Cloud" images (contain cloud-init) as it makes tooling work out-of-box and does not require creating your own image of the distro and getting all the necessary packages/dependencies installed.
0 commit comments