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

mounts should support mounting by label #4102

Open
ubuntu-server-builder opened this issue May 12, 2023 · 0 comments
Open

mounts should support mounting by label #4102

ubuntu-server-builder opened this issue May 12, 2023 · 0 comments
Labels
enhancement New feature or request launchpad Migrated from Launchpad

Comments

@ubuntu-server-builder
Copy link
Collaborator

This bug was originally filed in Launchpad as LP: #2016030

Launchpad details
affected_projects = []
assignee = None
assignee_name = None
date_closed = None
date_created = 2023-04-12T16:39:39.878935+00:00
date_fix_committed = None
date_fix_released = None
id = 2016030
importance = wishlist
is_complete = False
lp_url = https://bugs.launchpad.net/cloud-init/+bug/2016030
milestone = None
owner = eherot
owner_name = Eric Herot
private = False
status = triaged
submitter = eherot
submitter_name = Eric Herot
tags = ['fstab', 'mount-by-label', 'mounts']
duplicates = []

Launchpad user Eric Herot(eherot) wrote on 2023-04-12T16:39:39.878935+00:00

This is legal in fstab:

LABEL=myvol /mountpoint ext4 defaults 0 0

It would be cool if cc_mounts would support mounting this way. It would also make mounting the correct EBS volume in the right place on EC2 a little more reliable, especially since fs_setup already supports applying a label.

Additionally, if mounts is unable to figure out how to resolve the filesystem identifier, perhaps it should just try to use it (and place it in fstab) anyway? Or at least have an option to "force" application instead of skipping it (and let the user deal with their non-booting instance).

@ubuntu-server-builder ubuntu-server-builder added enhancement New feature or request launchpad Migrated from Launchpad labels May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request launchpad Migrated from Launchpad
Projects
None yet
Development

No branches or pull requests

1 participant