Skip to content

Commit

Permalink
Backport alignment 3 4 (#3051)
Browse files Browse the repository at this point in the history
* docs: backport stable IP req

* docs: fix alignment issue

* docs: fix alignment

---------

Co-authored-by: Lenny Chen <[email protected]>
  • Loading branch information
lennessyy and lennessyy authored Jun 11, 2024
1 parent 2b1500a commit 91b5000
Showing 1 changed file with 39 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ stylus:
initramfs:
- users:
kairos:
groups:
- sudo
passwd: kairos
groups:
- sudo
passwd: kairos
install:
poweroff: true
poweroff: true
```
**Site** - supplied at the edge location through a bootable USB drive. If specified, the `projectName` value overrides
Expand Down Expand Up @@ -199,11 +199,12 @@ stylus:
initramfs:
- users:
kairos:
groups:
- sudo
passwd: kairos
install:
poweroff: true
groups:
- sudo
passwd: kairos
install:
poweroff: true
```

### Apply Proxy & Certificate Settings
Expand All @@ -213,41 +214,31 @@ This example showcases how you can include network settings in a user data confi
```yaml
stylus:
site:
paletteEndpoint: api.spectrocloud.com
edgeHostToken: <yourRegistrationToken>
projectName: edge-sites
tags:
city: chicago
building: building-1
zip-code: 95135
stages:
initramfs:
- users:
kairos:
groups:
- sudo
passwd: kairos
install:
poweroff: true
network:
paletteEndpoint: api.spectrocloud.com
edgeHostToken: <yourRegistrationToken>
projectName: edge-sites
tags:
city: chicago
building: building-1
zip-code: 95135
network:
httpProxy: http://proxy.example.com
httpsProxy: https://proxy.example.com
noProxy: 10.10.128.10,10.0.0.0/8
nameserver: 1.1.1.1
# configure interface specific info. If omitted all interfaces will default to dhcp
interfaces:
enp0s3:
# type of network dhcp or static
type: static
# Ip address including the mask bits
ipAddress: 10.0.10.25/24
# Gateway for the static ip.
gateway: 10.0.10.1
# interface specific nameserver
nameserver: 10.10.128.8
enp0s4:
type: dhcp
enp0s3:
# type of network dhcp or static
type: static
# Ip address including the mask bits
ipAddress: 10.0.10.25/24
# Gateway for the static ip.
gateway: 10.0.10.1
# interface specific nameserver
nameserver: 10.10.128.8
enp0s4:
type: dhcp
caCerts:
- |
------BEGIN CERTIFICATE------
Expand All @@ -259,6 +250,16 @@ stylus:
*****************************
*****************************
------END CERTIFICATE------
stages:
initramfs:
- users:
kairos:
groups:
- sudo
passwd: kairos
install:
poweroff: true
```

### Load Content From External Registry
Expand Down

0 comments on commit 91b5000

Please sign in to comment.