Hitting a new issue now - Does the Ubuntu Autoinstall actually support the Curtin syntax for providing options
to a mount
setting within a config
stanza for storage?
I’ve been trying to use the config:
option to provide additional settings for the storage:
stanza, but I can’t get the options:
to take effect in the installed system. A short example of just a mount stanza that I’m trying to use:
- id: mount_vartmp
options: 'nodev,noexec,nosuid'
type: mount
path: /var/tmp
device: fs_vartmp
The additional options I provide aren’t used when I run mount
on a running system, and they’re also not copied into /etc/fstab
like the Curtin docs suggest they should be:
curtin
will ensure the target OS uses the provided mount options by updating the target OS (/etc/fstab).
I notice that the Autoinstall Reference specifies:
For full flexibility, the installer allows storage configuration to be done using a syntax which is a superset of that supported by curtin, described at https://curtin.readthedocs.io/en/latest/topics/storage.html.
But the Autoinstall Reference doesn’t describe exactly which of the Curtin options are/aren’t available.
Looking at the Autoinstall Schema doesn’t provide much help either as the schema isn’t very specific about the storage:
options that can be used.