mirror of
https://github.com/kairos-io/packages.git
synced 2025-07-08 12:43:53 +00:00
Parse datasources in all cases except uki normal boot (#1151)
Fixes https://github.com/kairos-io/kairos/issues/3035 Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me> Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
parent
df22d3bf4e
commit
8b820bd0ba
@ -1,4 +1,4 @@
|
|||||||
packages:
|
packages:
|
||||||
- name: "kairos-overlay-files"
|
- name: "kairos-overlay-files"
|
||||||
category: "static"
|
category: "static"
|
||||||
version: "1.6.0"
|
version: "1.6.1"
|
||||||
|
@ -2,10 +2,7 @@ name: "Datasource handling"
|
|||||||
stages:
|
stages:
|
||||||
rootfs.before:
|
rootfs.before:
|
||||||
- &datasource
|
- &datasource
|
||||||
if: |
|
if: '[ ! -f /oem/userdata ] && [ ! -f /run/cos/uki_boot_mode ]'
|
||||||
(grep -q "install-mode" /proc/cmdline || grep -q "nodepair.enable" /proc/cmdline ) && \
|
|
||||||
([ -f /run/cos/live_mode ] || [ -f /run/cos/uki_install_mode ]) && \
|
|
||||||
( [ ! -f /oem/userdata ] )
|
|
||||||
name: "Pull data from provider"
|
name: "Pull data from provider"
|
||||||
datasource:
|
datasource:
|
||||||
providers: ["cdrom", "gcp", "openstack", "aws", "azure", "hetzner", "packet", "vultr", "digitalocean", "metaldata", "vmware", "config-drive"]
|
providers: ["cdrom", "gcp", "openstack", "aws", "azure", "hetzner", "packet", "vultr", "digitalocean", "metaldata", "vmware", "config-drive"]
|
||||||
|
Loading…
Reference in New Issue
Block a user