We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40cb058 commit 164bbf3Copy full SHA for 164bbf3
examples/compute-management/02-VirtualMachineCreation.sh
@@ -17,9 +17,7 @@ subId=`echo $contextResult | jq '.Subscription.SubscriptionId' --raw-output`
17
18
subnetId="/subscriptions/$subId/resourceGroups/$groupName/providers/Microsoft.Network/virtualNetworks/test/subnets/test"
19
20
-echo "$subnetId" > "$BASEDIR/$groupName.subnetIdFile"
21
-
22
-sleep 10
+echo -n "$subnetId" > "$BASEDIR/$groupName.subnetIdFile"
23
24
printf "\n4. Create network interface with:\r\nsubId='%s' \r\n& \r\nsubnetId='$subnetId'.\n" "$subId"
25
azure network interface create --name test --resourcegroupname "$groupName" --location "$location" --subnetid @"$BASEDIR/$groupName.subnetIdFile"
0 commit comments