Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openstack: dynamically mount the config-drive #773

Merged
merged 1 commit into from
Oct 9, 2024

Commits on Sep 23, 2024

  1. openstack: dynamically mount the config-drive

    When we want to use config-drive in immutable systems, very often the
    config-drive is only used at boot and then umounted (e.g. ignition does
    this).
    
    Later when we want to fetch Metadata from the config drive, we actually
    have to mount it.
    
    In this PR, I'm adding similar code than coreos/ignition where we
    dynamically mount the config-drive is the device was found with the
    right label (config-2 or CONFIG-2 as documented in OpenStack). If the
    device is found, we mount it, fetch the data and umount it.
    EmilienM committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    084810a View commit details
    Browse the repository at this point in the history