mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-18 22:17:06 +00:00
Add #cloud-config
header to all overlay files
because `kairos-agent config` command ignores those files because of the missing header. That command is supposed to print all the config that is taken into account from kairos-agent and immucore and all. Currently it ignore those files the same way it ignores them when running `kairos-agent manual-install` et al. Adding the header will make the kairos-agent respect those files, essentially with no effect since none of these files set any installation options. The only useful result will be that `kairos-agent config` will print the full config making it easier for the user to see the full merged yaml that results from all the available config files. Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
parent
5afab81070
commit
cb04cb65d5
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
name: "Datasource handling"
|
name: "Datasource handling"
|
||||||
stages:
|
stages:
|
||||||
rootfs.before:
|
rootfs.before:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
name: "Fix home directory permissions (kairos issue #2797)"
|
name: "Fix home directory permissions (kairos issue #2797)"
|
||||||
stages:
|
stages:
|
||||||
network.after:
|
network.after:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# cloud-config
|
||||||
|
|
||||||
# Rootfs Kairos OEM configuration file
|
# Rootfs Kairos OEM configuration file
|
||||||
#
|
#
|
||||||
# This file is part of Kairos and will get reset during upgrades.
|
# This file is part of Kairos and will get reset during upgrades.
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# cloud-config
|
||||||
|
|
||||||
# Rootfs Kairos OEM configuration file
|
# Rootfs Kairos OEM configuration file
|
||||||
#
|
#
|
||||||
# This file is part of Kairos and will get reset during upgrades.
|
# This file is part of Kairos and will get reset during upgrades.
|
||||||
@ -58,4 +60,4 @@ stages:
|
|||||||
environment_file: /run/cos/cos-layout.env
|
environment_file: /run/cos/cos-layout.env
|
||||||
environment:
|
environment:
|
||||||
RW_PATHS: "/var /etc /srv /home"
|
RW_PATHS: "/var /etc /srv /home"
|
||||||
OVERLAY: "tmpfs:25%"
|
OVERLAY: "tmpfs:25%"
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# cloud-config
|
||||||
|
|
||||||
name: "Start agent"
|
name: "Start agent"
|
||||||
stages:
|
stages:
|
||||||
boot:
|
boot:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# cloud-config
|
||||||
|
|
||||||
name: "Notify Kairos Plugins of Elemental Events"
|
name: "Notify Kairos Plugins of Elemental Events"
|
||||||
stages:
|
stages:
|
||||||
initramfs:
|
initramfs:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# cloud-config
|
||||||
|
|
||||||
name: "Fonts fix for ubuntu"
|
name: "Fonts fix for ubuntu"
|
||||||
stages:
|
stages:
|
||||||
initramfs.after:
|
initramfs.after:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# cloud-config
|
||||||
|
|
||||||
name: "Default network configuration"
|
name: "Default network configuration"
|
||||||
stages:
|
stages:
|
||||||
rootfs.before:
|
rootfs.before:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# cloud-config
|
||||||
|
|
||||||
# Rootfs Kairos OEM configuration file
|
# Rootfs Kairos OEM configuration file
|
||||||
#
|
#
|
||||||
# This file is part of Kairos and will get reset during upgrades.
|
# This file is part of Kairos and will get reset during upgrades.
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# cloud-config
|
||||||
|
|
||||||
name: "Create openrc services"
|
name: "Create openrc services"
|
||||||
stages:
|
stages:
|
||||||
initramfs:
|
initramfs:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# cloud-config
|
||||||
|
|
||||||
# Rootfs Kairos OEM configuration file
|
# Rootfs Kairos OEM configuration file
|
||||||
#
|
#
|
||||||
# This file is part of Kairos and will get reset during upgrades.
|
# This file is part of Kairos and will get reset during upgrades.
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# cloud-config
|
||||||
|
|
||||||
name: "Default user, permissions and serial login"
|
name: "Default user, permissions and serial login"
|
||||||
stages:
|
stages:
|
||||||
initramfs:
|
initramfs:
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#cloud-config
|
#cloud-config
|
||||||
|
|
||||||
name: "RPI configs"
|
name: "RPI configs"
|
||||||
stages:
|
stages:
|
||||||
initramfs.before:
|
initramfs.before:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
name: "Nvidia jetson specific files"
|
name: "Nvidia jetson specific files"
|
||||||
stages:
|
stages:
|
||||||
initramfs:
|
initramfs:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
name: "Kcrypt"
|
name: "Kcrypt"
|
||||||
stages:
|
stages:
|
||||||
after-upgrade:
|
after-upgrade:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
name: "c3os sentinel migration"
|
name: "c3os sentinel migration"
|
||||||
stages:
|
stages:
|
||||||
fs.after:
|
fs.after:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
name: "Root autologin"
|
name: "Root autologin"
|
||||||
stages:
|
stages:
|
||||||
initramfs:
|
initramfs:
|
||||||
@ -34,4 +36,4 @@ stages:
|
|||||||
- sed -i -e 's/tty1.*//g' /etc/inittab
|
- sed -i -e 's/tty1.*//g' /etc/inittab
|
||||||
- sed -i -e 's/ttyS0.*//g' /etc/inittab
|
- sed -i -e 's/ttyS0.*//g' /etc/inittab
|
||||||
- echo "tty1::respawn:/sbin/agetty --autologin root -i --noclear tty1" >> /etc/inittab
|
- echo "tty1::respawn:/sbin/agetty --autologin root -i --noclear tty1" >> /etc/inittab
|
||||||
- echo "ttyS0::respawn:/sbin/agetty --autologin root -i --noclear ttyS0" >> /etc/inittab
|
- echo "ttyS0::respawn:/sbin/agetty --autologin root -i --noclear ttyS0" >> /etc/inittab
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
name: "SELinux"
|
name: "SELinux"
|
||||||
stages:
|
stages:
|
||||||
initramfs:
|
initramfs:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
name: "Enable QEMU tools"
|
name: "Enable QEMU tools"
|
||||||
stages:
|
stages:
|
||||||
boot:
|
boot:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
initramfs.before:
|
initramfs.before:
|
||||||
- name: "Blacklist bpfilter on Alpine ( bug: https://github.com/kairos-io/kairos/issues/277 )"
|
- name: "Blacklist bpfilter on Alpine ( bug: https://github.com/kairos-io/kairos/issues/277 )"
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
boot.before:
|
boot.before:
|
||||||
- name: "Setup higher limit for open files"
|
- name: "Setup higher limit for open files"
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
initramfs.before:
|
initramfs.before:
|
||||||
# For debian based distributions, /etc/hosts is present but empty. This is because the file
|
# For debian based distributions, /etc/hosts is present but empty. This is because the file
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
name: "Profile extensions"
|
name: "Profile extensions"
|
||||||
stages:
|
stages:
|
||||||
initramfs:
|
initramfs:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
name: "Start recovery on tty1"
|
name: "Start recovery on tty1"
|
||||||
stages:
|
stages:
|
||||||
initramfs:
|
initramfs:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
name: "Start reset on tty1"
|
name: "Start reset on tty1"
|
||||||
stages:
|
stages:
|
||||||
initramfs:
|
initramfs:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
name: "Start installer on tty1"
|
name: "Start installer on tty1"
|
||||||
stages:
|
stages:
|
||||||
initramfs:
|
initramfs:
|
||||||
@ -56,4 +58,4 @@ stages:
|
|||||||
([ -f /run/cos/live_mode ] || [ -f /run/cos/uki_install_mode ]) && \
|
([ -f /run/cos/live_mode ] || [ -f /run/cos/uki_install_mode ]) && \
|
||||||
( [ -e "/sbin/systemctl" ] || [ -e "/usr/bin/systemctl" ] || [ -e "/usr/sbin/systemctl" ] || [ -e "/usr/bin/systemctl" ] )
|
( [ -e "/sbin/systemctl" ] || [ -e "/usr/bin/systemctl" ] || [ -e "/usr/sbin/systemctl" ] || [ -e "/usr/bin/systemctl" ] )
|
||||||
commands:
|
commands:
|
||||||
- systemctl start kairos-webui
|
- systemctl start kairos-webui
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
name: "sysext"
|
name: "sysext"
|
||||||
stages:
|
stages:
|
||||||
fs.after:
|
fs.after:
|
||||||
|
Loading…
Reference in New Issue
Block a user