Skip to content

Commit 164bbf3

Browse files
committed
Update Test Script
1 parent 40cb058 commit 164bbf3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/compute-management/02-VirtualMachineCreation.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ subId=`echo $contextResult | jq '.Subscription.SubscriptionId' --raw-output`
1717

1818
subnetId="/subscriptions/$subId/resourceGroups/$groupName/providers/Microsoft.Network/virtualNetworks/test/subnets/test"
1919

20-
echo "$subnetId" > "$BASEDIR/$groupName.subnetIdFile"
21-
22-
sleep 10
20+
echo -n "$subnetId" > "$BASEDIR/$groupName.subnetIdFile"
2321

2422
printf "\n4. Create network interface with:\r\nsubId='%s' \r\n& \r\nsubnetId='$subnetId'.\n" "$subId"
2523
azure network interface create --name test --resourcegroupname "$groupName" --location "$location" --subnetid @"$BASEDIR/$groupName.subnetIdFile"

0 commit comments

Comments
 (0)