Skip to content

Commit

Permalink
Introduce kairos.pull_datasources cmdline option to force pulling them (
Browse files Browse the repository at this point in the history
#1196)

Fixes kairos-io/kairos#3032

Signed-off-by: Dimitris Karakasilis <[email protected]>
  • Loading branch information
jimmykarily authored Jan 3, 2025
1 parent 46909a6 commit 6d46020
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/static/kairos-overlay-files/collection.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packages:
- name: "kairos-overlay-files"
category: "static"
version: "1.6.2"
version: "1.6.3"
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Datasource handling"
stages:
rootfs.before:
- &datasource
if: '[ ! -f /oem/userdata ] && [ ! -f /run/cos/uki_boot_mode ]'
if: '[ ! -f /oem/userdata ] && ([ ! -f /run/cos/uki_boot_mode ] || grep -q "kairos.pull_datasources" /proc/cmdline )'
name: "Pull data from provider"
datasource:
providers: ["cdrom", "gcp", "openstack", "aws", "azure", "hetzner", "packet", "vultr", "digitalocean", "metaldata", "vmware", "config-drive"]
Expand Down

0 comments on commit 6d46020

Please sign in to comment.