Skip to content

Commit c44cb1e

Browse files
committed
Fixes for upgrade and wget commands
1 parent 559b683 commit c44cb1e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

articles/industry/agriculture/install-azure-farmbeats.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Run the following steps in a Cloud Shell instance in your subscription. First-ti
100100
1. Download the [AAD app generator script](https://aka.ms/FarmBeatsAADScript)
101101

102102
```azurepowershell-interactive
103-
wget https://aka.ms/FarmBeatsAADScript
103+
wget -q https://aka.ms/FarmBeatsAADScript -O ./create_aad_script.ps1
104104
```
105105
106106
2. By default, the file is downloaded to your home directory. Navigate to the directory.
@@ -157,12 +157,13 @@ Once the installation is complete, you can verify the installation and start usi
157157
158158
## Upgrade
159159
160-
To upgrade FarmBeats to the latest version, run the following steps in a Cloud Shell instance in your subscription. First-time users will be prompted to select a subscription and create a storage account. Complete the setup as instructed.
160+
To upgrade FarmBeats to the latest version, run the following steps in a Cloud Shell instance in your subscription. The user will need to be the owner of the Subscription in which FarmBeats is installed.
161+
First-time users will be prompted to select a subscription and create a storage account. Complete the setup as instructed.
161162
162163
1. Download the [upgrade script](https://aka.ms/FarmBeatsUpgradeScript)
163164
164165
```azurepowershell-interactive
165-
wget https://aka.ms/https://aka.ms/FarmBeatsUpgradeScript
166+
wget –q https://aka.ms/https://aka.ms/FarmBeatsUpgradeScript -O ./update-farmbeats.ps1
166167
```
167168
168169
2. By default, the file is downloaded to your home directory. Navigate to the directory.
@@ -174,10 +175,10 @@ To upgrade FarmBeats to the latest version, run the following steps in a Cloud S
174175
3. Run the upgrade script
175176
176177
```azurepowershell-interactive
177-
./upgrade-farmbeats.ps1 -SubscriptionId [FarmBeats Subscription ID] -ResourceGroup [FarmBeats DataHub ResourceGroup Name]
178+
./upgrade-farmbeats.ps1 -InputFilePath [Path to input.json file]
178179
```
179180
180-
If you are upgrading from FarmBeats version 1.2.1 or 1.2.5, the script will prompt you to specify the path to the input.json file you created at the time of installing FarmBeats. For newer versions, no more inputs will be needed. The upgrade should finish in around 30 minutes.
181+
The path to input.json file is optional. If not specified, the script will ask you for all required inputs. The upgrade should finish in around 30 minutes.
181182
182183
## Uninstall
183184

0 commit comments

Comments
 (0)