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
Edit network-config and specify your network settings using [network-config-format-v2](https://cloudinit.readthedocs.io/en/latest/reference/network-config-format-v2.html).
173
-
This step depends on whether your installation is using a vSwitch-enabled subnet or public IPs.
174
-
175
-
- Cloud-init configuration using [Hetzner vSwitch](https://docs.hetzner.com/robot/dedicated-server/network/vswitch/).
176
-
177
-
Note how this example is using subnet, VLAN ID, and subnet IPs of each node.
178
-
179
-
```bash
180
-
echo 'hostname: talos' > /mnt/meta-data
181
-
echo '#cloud-config' > /mnt/user-data
182
-
cat > /mnt/network-config <<EOT
183
-
version: 2
184
-
ethernets:
185
-
$INTERFACE_NAME:
186
-
dhcp4: false
187
-
addresses:
188
-
- "${IP_CIDR}"
189
-
gateway4: "${GATEWAY}"
190
-
nameservers:
191
-
addresses: [8.8.8.8]
192
-
vlans:
193
-
vlan4000:
194
-
id: 4000
195
-
link: $INTERFACE_NAME
196
-
mtu: 1400
197
-
dhcp4: false
198
-
addresses:
199
-
# node's own IP in the vSwitch subnet, change it for each node
200
-
- 10.0.1.101/24
201
-
routes:
202
-
# Hetzner cloud network
203
-
- to: 10.0.0.0/16
204
-
via: 10.0.1.1
205
-
EOT
206
-
```
207
-
208
-
- Cloud-init configuration using [public IPs]({{% ref "/docs/operations/faq#public-network-kubernetes-deployment" %}}):
209
-
210
-
```bash
211
-
echo 'hostname: talos' > /mnt/meta-data
212
-
echo '#cloud-config' > /mnt/user-data
213
-
cat > /mnt/network-config <<EOT
214
-
version: 2
215
-
ethernets:
216
-
$INTERFACE_NAME:
217
-
dhcp4: false
218
-
addresses:
219
-
- "${IP_CIDR}"
220
-
gateway4: "${GATEWAY}"
221
-
nameservers:
222
-
addresses: [8.8.8.8]
223
-
EOT
224
-
```
225
-
226
-
You can find more comprehensive examples in the codebase of [siderolabs/talos](
1. Navigate to **Networks > L2 Segment** and click **Add Segment**.
@@ -53,19 +45,26 @@ aliases:
53
45
54
46
## Setup OS
55
47
56
-
### 1. Rescue Mode / Access
48
+
### 1. Operating System and Access
57
49
58
-
1. Go to **Dedicated Servers > Server Details**, and click **Reboot to Rescue**. Select your SSH key.
50
+
{{% alert color="warning" %}}
51
+
:warning: In rescue mode only the public network is available; the private L2 network is not reachable.
52
+
For Talos installation use a regular OS (for example Ubuntu) instead of rescue mode.
53
+
{{% /alert %}}
59
54
60
-

55
+
1. In the Servers.com control panel, install Ubuntu on the server (for example via **Dedicated Servers > Server Details > OS install**) and make sure your SSH key is selected.
61
56
62
-
1.Connect via SSH. Log in via SSH using the external IP of the server (**Details** > **Public IP**).
57
+
1.After the installation is complete, connect via SSH using the external IP of the server (**Details** > **Public IP**).
63
58
64
59

65
60
66
-
### 2. Setup
61
+
### 2. Install Talos with boot-to-talos
62
+
63
+
Talos will be booted from the installed Ubuntu using the [`boot-to-talos`](https://github.com/cozystack/boot-to-talos) utility.
64
+
Later, when you apply Talm configuration, Talos will be installed to disk.
65
+
Run these steps on each server.
67
66
68
-
1. Check the information on block devices:
67
+
1. Check the information on block devices to find the disk that will be used for Talos later (for example, `/dev/sda`).
69
68
70
69
```console
71
70
# lsblk
@@ -74,66 +73,42 @@ aliases:
74
73
sdb 259:0 0 476.9G 0 disk
75
74
```
76
75
77
-
1. Wipe disks.
78
-
79
-
{{% alert color="warning" %}}
80
-
:warning: The following commands will erase your data!
81
-
{{% /alert %}}
76
+
1. Download and install `boot-to-talos`:
82
77
83
78
```bash
84
-
wipefs -a /dev/sda
85
-
wipefs -a /dev/sdb
79
+
curl -sSL https://github.com/cozystack/boot-to-talos/raw/refs/heads/main/hack/install.sh | sudo sh -s
86
80
```
87
81
88
-
1. Install `kexec-tools`:
82
+
After installation, verify that the binary is available:
0 commit comments