Skip to content

Commit 63d0b22

Browse files
authored
Update suse-create-upload-vhd.md
more code blocks
1 parent 4ed83f5 commit 63d0b22

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/virtual-machines/linux/suse-create-upload-vhd.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -237,17 +237,17 @@ If the the message "___No repositories defined___" appears from the `zypper lr`
237237
238238
Below are examples of commands for adding these repositories (versions and links may vary):
239239
240-
```bash
241-
sudo zypper ar -f http://download.opensuse.org/repositories/Cloud:Tools/openSUSE_15.2 Cloud:Tools_15.2
242-
sudo zypper ar -f https://download.opensuse.org/distribution/15.2/repo/oss openSUSE_15.2_OSS
243-
sudo zypper ar -f http://download.opensuse.org/update/15.2 openSUSE_15.2_Updates
244-
```
240+
```bash
241+
sudo zypper ar -f http://download.opensuse.org/repositories/Cloud:Tools/openSUSE_15.2 Cloud:Tools_15.2
242+
sudo zypper ar -f https://download.opensuse.org/distribution/15.2/repo/oss openSUSE_15.2_OSS
243+
sudo zypper ar -f http://download.opensuse.org/update/15.2 openSUSE_15.2_Updates
244+
```
245245

246246
You can then verify that the repositories have been added by running the command `zypper lr` again. If one of the relevant update repositories isn't enabled, enable it by using the following command:
247247

248-
```bash
249-
sudo zypper mr -e [NUMBER OF REPOSITORY]
250-
```
248+
```bash
249+
sudo zypper mr -e [NUMBER OF REPOSITORY]
250+
```
251251

252252
5. Update the kernel to the latest available version:
253253

0 commit comments

Comments
 (0)