mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-02 06:53:07 +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"
|
||||
stages:
|
||||
rootfs.before:
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
name: "Fix home directory permissions (kairos issue #2797)"
|
||||
stages:
|
||||
network.after:
|
||||
|
@ -1,3 +1,5 @@
|
||||
# cloud-config
|
||||
|
||||
# Rootfs Kairos OEM configuration file
|
||||
#
|
||||
# This file is part of Kairos and will get reset during upgrades.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# cloud-config
|
||||
|
||||
# Rootfs Kairos OEM configuration file
|
||||
#
|
||||
# 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:
|
||||
RW_PATHS: "/var /etc /srv /home"
|
||||
OVERLAY: "tmpfs:25%"
|
||||
OVERLAY: "tmpfs:25%"
|
||||
|
@ -1,3 +1,5 @@
|
||||
# cloud-config
|
||||
|
||||
name: "Start agent"
|
||||
stages:
|
||||
boot:
|
||||
|
@ -1,3 +1,5 @@
|
||||
# cloud-config
|
||||
|
||||
name: "Notify Kairos Plugins of Elemental Events"
|
||||
stages:
|
||||
initramfs:
|
||||
|
@ -1,3 +1,5 @@
|
||||
# cloud-config
|
||||
|
||||
name: "Fonts fix for ubuntu"
|
||||
stages:
|
||||
initramfs.after:
|
||||
|
@ -1,3 +1,5 @@
|
||||
# cloud-config
|
||||
|
||||
name: "Default network configuration"
|
||||
stages:
|
||||
rootfs.before:
|
||||
|
@ -1,3 +1,5 @@
|
||||
# cloud-config
|
||||
|
||||
# Rootfs Kairos OEM configuration file
|
||||
#
|
||||
# This file is part of Kairos and will get reset during upgrades.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# cloud-config
|
||||
|
||||
name: "Create openrc services"
|
||||
stages:
|
||||
initramfs:
|
||||
|
@ -1,3 +1,5 @@
|
||||
# cloud-config
|
||||
|
||||
# Rootfs Kairos OEM configuration file
|
||||
#
|
||||
# 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"
|
||||
stages:
|
||||
initramfs:
|
||||
|
@ -1,4 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
name: "RPI configs"
|
||||
stages:
|
||||
initramfs.before:
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
name: "Nvidia jetson specific files"
|
||||
stages:
|
||||
initramfs:
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
name: "Kcrypt"
|
||||
stages:
|
||||
after-upgrade:
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
name: "c3os sentinel migration"
|
||||
stages:
|
||||
fs.after:
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
name: "Root autologin"
|
||||
stages:
|
||||
initramfs:
|
||||
@ -34,4 +36,4 @@ stages:
|
||||
- sed -i -e 's/tty1.*//g' /etc/inittab
|
||||
- sed -i -e 's/ttyS0.*//g' /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"
|
||||
stages:
|
||||
initramfs:
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
name: "Enable QEMU tools"
|
||||
stages:
|
||||
boot:
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
stages:
|
||||
initramfs.before:
|
||||
- name: "Blacklist bpfilter on Alpine ( bug: https://github.com/kairos-io/kairos/issues/277 )"
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
stages:
|
||||
boot.before:
|
||||
- name: "Setup higher limit for open files"
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
stages:
|
||||
initramfs.before:
|
||||
# For debian based distributions, /etc/hosts is present but empty. This is because the file
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
name: "Profile extensions"
|
||||
stages:
|
||||
initramfs:
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
name: "Start recovery on tty1"
|
||||
stages:
|
||||
initramfs:
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
name: "Start reset on tty1"
|
||||
stages:
|
||||
initramfs:
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
name: "Start installer on tty1"
|
||||
stages:
|
||||
initramfs:
|
||||
@ -56,4 +58,4 @@ stages:
|
||||
([ -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" ] )
|
||||
commands:
|
||||
- systemctl start kairos-webui
|
||||
- systemctl start kairos-webui
|
||||
|
@ -1,3 +1,5 @@
|
||||
#cloud-config
|
||||
|
||||
name: "sysext"
|
||||
stages:
|
||||
fs.after:
|
||||
|
Loading…
Reference in New Issue
Block a user