|
8 | 8 | ifeval::["{context}" == "installing-with-agent-based-installer"] |
9 | 9 | :agent: |
10 | 10 | endif::[] |
| 11 | +ifeval::["{context}" == "installing-restricted-networks-bare-metal"] |
| 12 | +:restricted: |
| 13 | +endif::[] |
11 | 14 |
|
12 | 15 | :_mod-docs-content-type: PROCEDURE |
13 | 16 | ifndef::agent[] |
@@ -54,8 +57,16 @@ system using available RHEL tools, such as `nmcli` or `nmtui`. |
54 | 57 | + |
55 | 58 | [source,terminal] |
56 | 59 | ---- |
| 60 | +ifndef::restricted[] |
57 | 61 | $ sudo coreos-installer install --copy-network \ |
58 | 62 | --ignition-url=http://host/worker.ign /dev/disk/by-id/scsi-<serial_number> |
| 63 | +endif::[] |
| 64 | +ifdef::restricted[] |
| 65 | +$ sudo coreos-installer install --copy-network \ |
| 66 | +--ignition-url=http://host/worker.ign \ |
| 67 | +--offline \ |
| 68 | +/dev/disk/by-id/scsi-<serial_number> |
| 69 | +endif::[] |
59 | 70 | ---- |
60 | 71 | + |
61 | 72 | [IMPORTANT] |
@@ -232,25 +243,50 @@ This example preserves any partition in which the partition label begins with `d |
232 | 243 |
|
233 | 244 | [source,terminal] |
234 | 245 | ---- |
| 246 | +ifndef::restricted[] |
235 | 247 | # coreos-installer install --ignition-url http://10.0.2.2:8080/user.ign \ |
236 | | - --save-partlabel 'data*' /dev/disk/by-id/scsi-<serial_number> |
| 248 | +--save-partlabel 'data*' \ |
| 249 | +/dev/disk/by-id/scsi-<serial_number> |
| 250 | +endif::[] |
| 251 | +ifdef::restricted[] |
| 252 | +# coreos-installer install --ignition-url http://10.0.2.2:8080/user.ign \ |
| 253 | +--save-partlabel 'data*' \ |
| 254 | +--offline \ |
| 255 | +/dev/disk/by-id/scsi-<serial_number> |
| 256 | +endif::[] |
237 | 257 | ---- |
238 | 258 |
|
239 | 259 | The following example illustrates running the `coreos-installer` in a way that preserves |
240 | 260 | the sixth (6) partition on the disk: |
241 | 261 |
|
242 | 262 | [source,terminal] |
243 | 263 | ---- |
| 264 | +ifndef::restricted[] |
244 | 265 | # coreos-installer install --ignition-url http://10.0.2.2:8080/user.ign \ |
245 | | - --save-partindex 6 /dev/disk/by-id/scsi-<serial_number> |
| 266 | +--save-partindex 6 /dev/disk/by-id/scsi-<serial_number> |
| 267 | +endif::[] |
| 268 | +ifdef::restricted[] |
| 269 | +# coreos-installer install --ignition-url http://10.0.2.2:8080/user.ign \ |
| 270 | +--save-partindex 6 \ |
| 271 | +--offline \ |
| 272 | +/dev/disk/by-id/scsi-<serial_number> |
| 273 | +endif::[] |
246 | 274 | ---- |
247 | 275 |
|
248 | 276 | This example preserves partitions 5 and higher: |
249 | 277 |
|
250 | 278 | [source,terminal] |
251 | 279 | ---- |
252 | | -# coreos-installer install --ignition-url http://10.0.2.2:8080/user.ign |
253 | | - --save-partindex 5- /dev/disk/by-id/scsi-<serial_number> |
| 280 | +ifndef::restricted[] |
| 281 | +# coreos-installer install --ignition-url http://10.0.2.2:8080/user.ign \ |
| 282 | +--save-partindex 5- /dev/disk/by-id/scsi-<serial_number> |
| 283 | +endif::[] |
| 284 | +ifdef::restricted[] |
| 285 | +# coreos-installer install --ignition-url http://10.0.2.2:8080/user.ign \ |
| 286 | +--save-partindex 5- \ |
| 287 | +--offline \ |
| 288 | +/dev/disk/by-id/scsi-<serial_number> |
| 289 | +endif::[] |
254 | 290 | ---- |
255 | 291 |
|
256 | 292 | In the previous examples where partition saving is used, `coreos-installer` recreates the partition immediately. |
@@ -310,3 +346,6 @@ endif::agent[] |
310 | 346 | ifeval::["{context}" == "installing-with-agent-based-installer"] |
311 | 347 | :!agent: |
312 | 348 | endif::[] |
| 349 | +ifeval::["{context}" == "installing-restricted-networks-bare-metal"] |
| 350 | +:!restricted: |
| 351 | +endif::[] |
0 commit comments