Skip to content

Commit 243ea59

Browse files
committed
Remove interactive option from Azure CLI commands
1 parent 6e9c03d commit 243ea59

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

articles/private-5g-core/commission-cluster.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ The Azure Private 5G Core private mobile network requires a custom location and
244244
245245
1. Set the following environment variables using the required values for your deployment:
246246
247-
```azurecli-interactive
247+
```azurecli
248248
export SUBSCRIPTION_ID=<subscription ID>
249249
export RESOURCE_GROUP_NAME=<resource group name>
250250
export LOCATION=<deployment region, for example eastus>
@@ -255,13 +255,13 @@ The Azure Private 5G Core private mobile network requires a custom location and
255255
256256
1. Prepare your shell environment:
257257
258-
```azurecli-interactive
258+
```azurecli
259259
az account set --subscription "$SUBSCRIPTION_ID"
260260
```
261261
262262
1. Create the Network Function Operator Kubernetes extension:
263263
264-
```azurecli-interactive
264+
```azurecli
265265
cat > $TEMP_FILE <<EOF
266266
{
267267
"helm.versions": "v3",
@@ -290,7 +290,7 @@ The Azure Private 5G Core private mobile network requires a custom location and
290290
291291
1. Create the Packet Core Monitor Kubernetes extension:
292292
293-
```azurecli-interactive
293+
```azurecli
294294
az k8s-extension create \
295295
--name packet-core-monitor \
296296
--cluster-name "$RESOURCE_NAME" \
@@ -303,7 +303,7 @@ The Azure Private 5G Core private mobile network requires a custom location and
303303
304304
1. Create the custom location:
305305
306-
```azurecli-interactive
306+
```azurecli
307307
az customlocation create \
308308
-n "$CUSTOM_LOCATION" \
309309
-g "$RESOURCE_GROUP_NAME" \

articles/private-5g-core/complete-private-mobile-network-prerequisites.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,30 +117,30 @@ To use Azure Private 5G Core, you need to register some additional resource prov
117117
> If you do not have the Azure CLI installed, see installation instructions at [How to install the Azure CLI](/cli/azure/install-azure-cli). Alternatively, you can use the [Azure Cloud Shell](../cloud-shell/overview.md) on the portal.
118118
119119
1. Sign into the Azure CLI with a user account that is associated with the Azure tenant that you are deploying Azure Private 5G Core into:
120-
```azurecli-interactive
120+
```azurecli
121121
az login
122122
```
123123
> [!TIP]
124124
> See [Sign in interactively](/cli/azure/authenticate-azure-cli) for full instructions.
125125
1. If your account has multiple subscriptions, make sure you are in the correct one:
126-
```azurecli-interactive
126+
```azurecli
127127
az account set –-subscription <subscription_id>
128128
```
129129
1. Check the Azure CLI version:
130-
```azurecli-interactive
130+
```azurecli
131131
az version
132132
```
133133
If the CLI version is below 2.37.0, you will need to upgrade your Azure CLI to a newer version. See [How to update the Azure CLI](/cli/azure/update-azure-cli).
134134
1. Register the following resource providers:
135-
```azurecli-interactive
135+
```azurecli
136136
az provider register --namespace Microsoft.MobileNetwork
137137
az provider register --namespace Microsoft.HybridNetwork
138138
az provider register --namespace Microsoft.ExtendedLocation
139139
az provider register --namespace Microsoft.Kubernetes
140140
az provider register --namespace Microsoft.KubernetesConfiguration
141141
```
142142
1. Register the following features:
143-
```azurecli-interactive
143+
```azurecli
144144
az feature register --name allowVnfCustomer --namespace Microsoft.HybridNetwork
145145
az feature register --name previewAccess --namespace Microsoft.Kubernetes
146146
az feature register --name sourceControlConfiguration --namespace Microsoft.KubernetesConfiguration

0 commit comments

Comments
 (0)