Skip to content

Commit 04b61a9

Browse files
committed
Remove sh files and put the code inside page
1 parent 191eefd commit 04b61a9

File tree

8 files changed

+42
-34
lines changed

8 files changed

+42
-34
lines changed

articles/cyclecloud/how-to/install-manual.md

Lines changed: 42 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,22 @@ If this file exists, the contents will indicate if it is an Enterprise-Linux bas
5050

5151
First, download the Microsoft signing key and add to Apt's trusted keyring:
5252

53-
:::code language="bash" source="../includes/installation/ubuntu-setup.sh":::
53+
```bash
54+
sudo apt-get -qq update && sudo apt-get -y -qq install curl gnupg2
55+
sudo mkdir -m 0755 -p /etc/apt/keyrings
56+
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc |
57+
gpg --dearmor | sudo tee /etc/apt/keyrings/microsoft.gpg > /dev/null
58+
sudo chmod go+r /etc/apt/keyrings/microsoft.gpg
59+
60+
```
5461

5562
Then, configure Apt to pull from the CycleCloud repository:
5663

57-
:::code language="bash" source="../includes/installation/ubuntu-repo.sh":::
64+
```bash
65+
echo "deb [signed-by=/etc/apt/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/cyclecloud stable main" |
66+
sudo tee /etc/apt/sources.list.d/cyclecloud.list > /dev/null
67+
sudo apt-get -qq update
68+
```
5869

5970
Finally, install CycleCloud with `apt`:
6071

@@ -65,7 +76,9 @@ sudo apt -y install cyclecloud
6576
::: moniker-end
6677
::: moniker range="=cyclecloud-8"
6778

68-
:::code language="bash" source="../includes/installation/ubuntu-install.sh":::
79+
```bash
80+
sudo apt-get -y -q install cyclecloud8
81+
```
6982

7083
::: moniker-end
7184

@@ -76,7 +89,15 @@ sudo apt -y install cyclecloud
7689

7790
First, configure a _cyclecloud.repo_ file:
7891

79-
:::code language="bash" source="../includes/installation/el-repo.sh":::
92+
```bash
93+
cat | sudo tee /etc/yum.repos.d/cyclecloud.repo > /dev/null <<EOF
94+
[cyclecloud]
95+
name=cyclecloud
96+
baseurl=https://packages.microsoft.com/yumrepos/cyclecloud
97+
gpgcheck=1
98+
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
99+
EOF
100+
```
80101

81102
Finally, install cyclecloud with `yum` (or `dnf`):
82103

@@ -87,7 +108,9 @@ sudo yum -y install cyclecloud
87108
::: moniker-end
88109
::: moniker range="=cyclecloud-8"
89110

90-
:::code language="bash" source="../includes/installation/el-install.sh":::
111+
```bash
112+
sudo yum -y -qq install cyclecloud8
113+
```
91114
::: moniker-end
92115

93116
::: moniker range="<=cyclecloud-7"
@@ -125,15 +148,27 @@ Note that these instructions switch to only using Insiders builds. You can switc
125148

126149
To install the Insiders build on Debian or Ubuntu, run the following:
127150

128-
:::code language="bash" source="../includes/installation/ubuntu-repo-insiders.sh":::
151+
```bash
152+
echo "deb [signed-by=/etc/apt/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/cyclecloud-insiders stable main" |
153+
sudo tee /etc/apt/sources.list.d/cyclecloud.list > /dev/null
154+
sudo apt-get -qq update
155+
```
129156

130157
This is the same as the [standard installation steps above](#installing-on-debian-or-ubuntu) but with [https://packages.microsoft.com/repos/cyclecloud-insiders/pool/main/c/cyclecloud8/](https://packages.microsoft.com/repos/cyclecloud-insiders/pool/main/c/cyclecloud8/) instead.
131158

132159
### Enterprise Linux
133160

134161
To install the Insiders build on Enterprise Linux, run the following:
135162

136-
:::code language="bash" source="../includes/installation/el-repo-insiders.sh":::
163+
```bash
164+
cat | sudo tee /etc/yum.repos.d/cyclecloud.repo > /dev/null <<EOF
165+
[cyclecloud]
166+
name=cyclecloud
167+
baseurl=https://packages.microsoft.com/yumrepos/cyclecloud-insiders
168+
gpgcheck=1
169+
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
170+
EOF
171+
```
137172

138173
This is the same as the [standard installation steps above](#installing-on-enterprise-linux-rhel-clones) but with [https://packages.microsoft.com/yumrepos/cyclecloud-insiders/](https://packages.microsoft.com/yumrepos/cyclecloud-insiders/) instead.
139174

articles/cyclecloud/includes/installation/el-install.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

articles/cyclecloud/includes/installation/el-repo-insiders.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

articles/cyclecloud/includes/installation/el-repo.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

articles/cyclecloud/includes/installation/ubuntu-install.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

articles/cyclecloud/includes/installation/ubuntu-repo-insiders.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

articles/cyclecloud/includes/installation/ubuntu-repo.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

articles/cyclecloud/includes/installation/ubuntu-setup.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)