Skip to content

Instantly share code, notes, and snippets.

@nctiggy
Last active October 10, 2025 20:43
Show Gist options
  • Select an option

  • Save nctiggy/8e3178886497c42390f0949d14b0e594 to your computer and use it in GitHub Desktop.

Select an option

Save nctiggy/8e3178886497c42390f0949d14b0e594 to your computer and use it in GitHub Desktop.
#cloud-config
install:
auto: true
poweroff: true
grub_options:
saved_entry: registration
env:
- HTTPS_PROXY=
- https_proxy=
- NO_PROXY=
- no_proxy=
- HTTP_PROXY=
- http_proxy=
partitions:
oem:
size: 5120
fs: ext4
system:
size: 8192
recovery-system:
size: 10000
passive:
size: 8192
grub-entry-name: Palette eXtended Kubernetes Edge
stages:
initramfs:
- name: set_inotify_max_values
sysctl:
fs.inotify.max_user_instances: "8192"
fs.inotify.max_user_watches: "524288"
- name: set proxy env
environment:
HTTP_PROXY: ""
HTTPS_PROXY: ""
NO_PROXY: ""
http_proxy: ""
https_proxy: ""
no_proxy: ""
initramfs.after:
- hostname: b3-main
name: edge-hostname
stylus.init:
- files:
- path: /etc/systemd/network/10-eno1np0.network
permissions: 420
owner: 0
group: 0
content: |
[Match]
Name=eno1np0
[DHCP]
ClientIdentifier=mac
[Network]
DHCP=yes
[Link]
MTUBytes=1500
encoding: ""
ownerstring: ""
if: '[ -f "/usr/lib/systemd/systemd-networkd" ]'
name: generate networkd configs
stylus.init.after:
- commands:
- systemctl restart systemd-networkd
if: '[ -f "/usr/lib/systemd/systemd-networkd" ]'
name: restart networkd
stylus:
site:
paletteEndpoint: bw-design-group.console.spectrocloud.com
edgeHostToken: ***********************************
name: edge-6799a798bfde11d301a89c6b0071c2e6
hostName: b3-main
network:
interfaces:
eno1np0:
ipAddress: 10.8.142.200
mask: 255.255.255.0
type: dhcp
gateway: 10.8.142.1
mtu: 1500
localAdoptedClusterToken: ""
tags:
building: Building 3
city: Abilene
installationMode: connected
managementMode: central
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment