Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport alignment 3 4 #3051

Merged
merged 4 commits into from
Jun 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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