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: articles/virtual-machines/vm-applications-how-to.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ ms.service: virtual-machines
5
5
ms.subservice: shared-image-gallery
6
6
ms.topic: how-to
7
7
ms.workload: infrastructure
8
-
ms.date: 10/27/2021
8
+
ms.date: 11/02/2021
9
9
ms.reviewer: amjads
10
10
ms.custom:
11
11
@@ -84,36 +84,35 @@ If you have more than one VM application to install, you can set the install ord
84
84
85
85
### [CLI](#tab/cli)
86
86
87
+
VM applications requires [Azure CLI](/cli/azure/install-azure-cli) version 2.30.0 or later.
88
+
87
89
Crate the VM application definition using [az sig gallery-application create](/cli/azure/sig/gallery-application#az_sig_gallery_application_create). In this example we are creating a VM application definition named *myApp* for Linux-based VMs.
88
90
89
91
```azurecli-interactive
90
92
az sig gallery-application create \
91
-
--gallery-application-name myApp \
93
+
--application-name myApp \
92
94
--gallery-name myGallery \
93
95
--resource-group myResourceGroup \
94
96
--os-type Linux \
95
97
--location "East US"
96
98
```
97
99
98
-
Create a VM application version using [az sig gallery-application-version create](/cli/azure/sig/gallery-application#az_sig_gallery_application_version_create). Allowed characters for version are numbers and periods. Numbers must be within the range of a 32-bit integer. Format: *MajorVersion*.*MinorVersion*.*Patch*.
100
+
Create a VM application version using [az sig gallery-applicationversion create](/cli/azure/sig/gallery-application/version#az_sig_gallery_application_version_create). Allowed characters for version are numbers and periods. Numbers must be within the range of a 32-bit integer. Format: *MajorVersion*.*MinorVersion*.*Patch*.
99
101
100
102
Replace the values of the parameters with your own.
Copy file name to clipboardExpand all lines: articles/virtual-machines/vm-applications.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.service: virtual-machines
6
6
ms.subservice: gallery
7
7
ms.topic: conceptual
8
8
ms.workload: infrastructure
9
-
ms.date: 10/27/2021
9
+
ms.date: 11/02/2021
10
10
ms.author: cynthn
11
11
ms.reviewer: amjads
12
12
ms.custom:
@@ -114,7 +114,7 @@ The install/update/remove commands should be written assuming the application pa
114
114
115
115
## File naming
116
116
117
-
During the preview, when the application file gets downloaded to the VM, the file name is the same as the name you use when you create the VM application. For example, if I name my VM applicaton`myApp`, the file that will be downloaded to the VM will also be named `myApp`, regardless of what the file name is used in the storage account. If you VM application also has a configuration file, that file is the name of the application with `_config` appended. If `myApp` has a configuration file, it will be named `myApp_config`.
117
+
During the preview, when the application file gets downloaded to the VM, the file name is the same as the name you use when you create the VM application. For example, if I name my VM application`myApp`, the file that will be downloaded to the VM will also be named `myApp`, regardless of what the file name is used in the storage account. If you VM application also has a configuration file, that file is the name of the application with `_config` appended. If `myApp` has a configuration file, it will be named `myApp_config`.
118
118
119
119
For example, if I name my VM application `myApp` when I create it in the Gallery, but it is stored as `myApplication.exe` in the storage account, when it gets downloaded to the VM the file name will be `myApp`. My install string should start by renaming the file to be whatever the it needs to be to run on the VM (like myApp.exe).
0 commit comments