Skip to content

[Feature Request] Automount Network Drives #41

Description

@ayykamp

I was looking for a GUI tool to automount network drives (over SMB, SFTP, etc..) but there there doesn't seem to be one for the modern linux desktop. Most guides suggest fiddling with the fstab which is pretty intimidating for newer users.
I think this would be a good fit for Ignition.

The implementation should be pretty straightforward too since this can easily be done with systemd units

Example

network.automount

[Unit]
Description=Automount networkshare

[Automount]
Where=/home/user/networkshare

[Install]
WantedBy=multi-user.target

network.mount

[Unit]
Description=Mount networkshare
Wants=network-online.target
After=network-online.target

[Mount]
What=//192.168.178.1/drive
Where=/home/user/networshare
Type=cifs
Options=credentials=/home/user/.smbcredentials,vers=2.1,noserverino,uid=1000,gid=1000

[Install]
WantedBy=multi-user.target

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions