You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/instances/reference-content/use-red-hat-license.mdx
+75-40Lines changed: 75 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,6 @@ This guide explains how to deploy a RHEL Instance and attach your existing Red H
23
23
24
24
## Deploying a RHEL Instance
25
25
26
-
27
26
1. Click **CPU & GPU Instances** in the **Compute** section of the side menu. The [Instance dashboard](https://console.scaleway.com/instance/servers) displays.
28
27
2. Click **Create Instance**. The [Instance creation page](https://console.scaleway.com/instance/servers) displays.
29
28
3. Configure the Instance:
@@ -55,47 +54,83 @@ Once created, connect to your Instance over SSH:
55
54
```
56
55
Replace `<your_instance_ip>` with the actual public IP address of your Instance.
57
56
58
-
59
-
60
57
## Registering your Instance with Red Hat
61
58
62
-
After logging in, you must register the Instance to enable repositories and updates.
63
-
64
-
### Option A — Register with username/password
65
-
66
-
Run the following command to register your Instance using your Red Hat username and password:
67
-
```bash
68
-
sudo subscription-manager register
69
-
```
70
-
Enter your Red Hat Customer Portal credentials when prompted.
71
-
72
-
### Option B — Register with activation key
73
-
74
-
If you have an activation key to register your Instance, run the following command
75
-
```bash
76
-
sudo subscription-manager register \
77
-
--org=<RED_HAT_ORGANIZATION_ID> \
78
-
--activationkey=<RED_HAT_KEY>
79
-
```
80
-
Replace `RED_HAT_ORGANIZATION_ID` with your Red Hat organization ID and `RED_HAT_KEY` with your secret key issued by Red Hat.
81
-
82
-
## Attach a subscription
83
-
84
-
If your subscription is not automatically assigned, attach one manually:
85
-
```bash
86
-
sudo subscription-manager attach --auto
87
-
```
88
-
89
-
Alternatively, you can list available subscriptions:
Replace `RED_HAT_POOL_ID` with the ID of the license pool you want to activate.
59
+
<Tabs>
60
+
<TabsTablabel="Using SSH">
61
+
After logging in, you must register the Instance to enable repositories and updates. The steps below describe how to regiser your Instance manually from the terminal. Alternatively you can register it automatically during deployment using [cloud-init](?tab=using-cloud-init-0).
62
+
63
+
### Option A — Register with username/password
64
+
65
+
Run the following command to register your Instance using your Red Hat username and password:
66
+
```bash
67
+
sudo subscription-manager register
68
+
```
69
+
Enter your Red Hat Customer Portal credentials when prompted.
70
+
71
+
### Option B — Register with activation key
72
+
73
+
If you have an activation key to register your Instance, run the following command
74
+
```bash
75
+
sudo subscription-manager register \
76
+
--org=<RED_HAT_ORGANIZATION_ID> \
77
+
--activationkey=<RED_HAT_KEY>
78
+
```
79
+
Replace `RED_HAT_ORGANIZATION_ID` with your Red Hat organization ID and `RED_HAT_KEY` with your secret key issued by Red Hat.
80
+
81
+
## Attach a subscription
82
+
83
+
If your subscription is not automatically assigned, attach one manually:
84
+
```bash
85
+
sudo subscription-manager attach --auto
86
+
```
87
+
88
+
Alternatively, you can list available subscriptions:
Replace `RED_HAT_POOL_ID` with the ID of the license pool you want to activate.
98
+
</TabsTab>
99
+
<TabsTablabel="Using cloud-init">
100
+
Cloud-init may be used to automatically register your Instance during creation. To use this feature, simply add the following cloud-init configuration script to the `Cloud-Init` section of the `Settings` tab in the console:
101
+
102
+
### Option A — Register with username/password
103
+
104
+
Using your Red Hat username and password, use the following cloud-init configuration script:
0 commit comments